隐藏首页
This commit is contained in:
parent
9d73677495
commit
fa5767c12e
@ -64,19 +64,19 @@ export const constantRoutes = [
|
|||||||
component: () => import('@/views/error/Error'),
|
component: () => import('@/views/error/Error'),
|
||||||
hidden: true
|
hidden: true
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
path: '',
|
// path: '',
|
||||||
component: Layout,
|
// component: Layout,
|
||||||
redirect: '/index',
|
// redirect: '/index',
|
||||||
children: [
|
// children: [
|
||||||
{
|
// {
|
||||||
path: '/index',
|
// path: '/index',
|
||||||
component: () => import('@/views/index'),
|
// component: () => import('@/views/index'),
|
||||||
name: 'Index',
|
// name: 'Index',
|
||||||
meta: { title: '首页', icon: 'index', affix: true, titleKey: 'menu.home' }
|
// meta: { title: '首页', icon: 'index', affix: true, titleKey: 'menu.home' }
|
||||||
}
|
// }
|
||||||
]
|
// ]
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
path: '/user',
|
path: '/user',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
|
|||||||
@ -1,3 +0,0 @@
|
|||||||
<template>
|
|
||||||
生产数据搜集
|
|
||||||
</template>
|
|
||||||
@ -169,7 +169,7 @@ function handleLogin() {
|
|||||||
}
|
}
|
||||||
return acc
|
return acc
|
||||||
}, {})
|
}, {})
|
||||||
router.push({ path: redirect.value || '/', query: otherQueryParams })
|
router.push({ path: '/system/user', query: otherQueryParams })
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user