mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-30 03:01:53 +08:00
fix: router
This commit is contained in:
parent
404ac293cb
commit
882bbb2187
@ -43,7 +43,7 @@ const loginOut = () => {
|
|||||||
.catch(() => {})
|
.catch(() => {})
|
||||||
}
|
}
|
||||||
const toProfile = async () => {
|
const toProfile = async () => {
|
||||||
push('/user/profile')
|
push('/userinfo/profile')
|
||||||
}
|
}
|
||||||
const toDocument = () => {
|
const toDocument = () => {
|
||||||
window.open('https://doc.iocoder.cn/')
|
window.open('https://doc.iocoder.cn/')
|
||||||
|
@ -41,7 +41,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/user',
|
path: '/userinfo',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
name: 'UserInfo',
|
name: 'UserInfo',
|
||||||
meta: {
|
meta: {
|
||||||
|
Loading…
Reference in New Issue
Block a user