fix: router

This commit is contained in:
xingyu 2022-07-21 11:43:35 +08:00
parent 404ac293cb
commit 882bbb2187
2 changed files with 2 additions and 2 deletions

View File

@ -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/')

View File

@ -41,7 +41,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
] ]
}, },
{ {
path: '/user', path: '/userinfo',
component: Layout, component: Layout,
name: 'UserInfo', name: 'UserInfo',
meta: { meta: {