From 03d20b477c2d5a4c6a2169d3df932d42b62ca6eb Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 16 六月 2025 17:49:40 +0800
Subject: [PATCH] 测试完成
---
src/views/login.vue | 2 +-
src/router/index.js | 56 ++++++++++++++++++++++++++++----------------------------
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index a30451d..4ccc2b8 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -52,7 +52,7 @@
hidden: true
},
{
- path: 'wxsf/wt',
+ path: '/wxsf/wt',
component: () => import('@/views/outsideChainwtnew'),
hidden: true
},
@@ -96,33 +96,33 @@
component: () => import('@/views/error/401'),
hidden: true
},
- {
- path: '',
- component: Layout,
- redirect: 'index',
- children: [
- {
- path: 'index',
- component: () => import('@/views/index'),
- name: 'Index',
- meta: { title: '棣栭〉', icon: 'dashboard', affix: true }
- }
- ]
- },
- {
- path: '/user',
- component: Layout,
- hidden: true,
- redirect: 'noredirect',
- children: [
- {
- path: 'profile',
- component: () => import('@/views/system/user/profile/index'),
- name: 'Profile',
- meta: { title: '涓汉涓績', icon: 'user' }
- }
- ]
- }
+ // {
+ // path: '',
+ // component: Layout,
+ // redirect: 'index',
+ // children: [
+ // {
+ // path: 'index',
+ // component: () => import('@/views/index'),
+ // name: 'Index',
+ // meta: { title: '棣栭〉', icon: 'dashboard', affix: true }
+ // }
+ // ]
+ // },
+ // {
+ // path: '/user',
+ // component: Layout,
+ // hidden: true,
+ // redirect: 'noredirect',
+ // children: [
+ // {
+ // path: 'profile',
+ // component: () => import('@/views/system/user/profile/index'),
+ // name: 'Profile',
+ // meta: { title: '涓汉涓績', icon: 'user' }
+ // }
+ // ]
+ // }
]
// 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇
diff --git a/src/views/login.vue b/src/views/login.vue
index b63c71e..02252e1 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -168,7 +168,7 @@
this.$store
.dispatch("Login", this.loginForm)
.then(() => {
- // this.$router.push({ path: this.redirect || "/" }).catch(() => {});
+ this.$router.push({ path: this.redirect || "/" }).catch(() => {});
// this.$router.push({ path:"/patient/patient" }).catch(() => {});
})
.catch(() => {
--
Gitblit v1.9.3