src/router.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/login/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/router.js
@@ -26,7 +26,7 @@ { path: '/', component: Layout, redirect: '/dashboard', redirect: '/login', children: [ { path: 'dashboard', @@ -447,7 +447,7 @@ { path: '/', component: Layout, redirect: '/dashboard', redirect: '/login', children: [ { path: 'dashboard', src/views/login/index.vue
@@ -166,7 +166,7 @@ _this.seachPageDepartMentList() _this.setUserName(_this.loginForm.userName) sessionStorage.setItem('deptAdmin', result.response.deptAdmin) _this.$router.push({ path: '/' }) _this.$router.push({ path: '/dashboard' }) } else { _this.loading = false _this.$message({