From 1aa0483fabd258d1c1b1f9b21cc585ce75ddf5b9 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 12 六月 2024 16:17:30 +0800 Subject: [PATCH] 代码迁移、路由 --- 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