From b3ac9b93a74fa2ea71a8d4f17f1df70b5fed7a06 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期四, 13 六月 2024 11:32:32 +0800
Subject: [PATCH] feat:答卷

---
 src/views/login/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 4e59a46..d3d36d8 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -139,7 +139,7 @@
           loginApi.login(this.loginForm).then(function (result) {
             if (result && result.code === 1) {
               _this.setUserName(_this.loginForm.userName)
-              _this.$router.push({ path: '/' })
+              _this.$router.push({ path: '/dashboard' })
             } else {
               _this.loading = false
               _this.$message({

--
Gitblit v1.8.0