Commit 882bbb2187f112d817b245cc8d4cdaa57a787ac1

Authored by xingyu
1 parent 404ac293

fix: router

yudao-ui-admin-vue3/src/components/UserInfo/src/UserInfo.vue
@@ -43,7 +43,7 @@ const loginOut = () => { @@ -43,7 +43,7 @@ const loginOut = () => {
43 .catch(() => {}) 43 .catch(() => {})
44 } 44 }
45 const toProfile = async () => { 45 const toProfile = async () => {
46 - push('/user/profile') 46 + push('/userinfo/profile')
47 } 47 }
48 const toDocument = () => { 48 const toDocument = () => {
49 window.open('https://doc.iocoder.cn/') 49 window.open('https://doc.iocoder.cn/')
yudao-ui-admin-vue3/src/router/modules/remaining.ts
@@ -41,7 +41,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ @@ -41,7 +41,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
41 ] 41 ]
42 }, 42 },
43 { 43 {
44 - path: '/user', 44 + path: '/userinfo',
45 component: Layout, 45 component: Layout,
46 name: 'UserInfo', 46 name: 'UserInfo',
47 meta: { 47 meta: {