首页inner环境免登录

main
liutao 1 day ago
parent 6a12257073
commit d4736907b1

@ -84,6 +84,8 @@ const whiteList = [
]
const homePublicAccessWhiteList = [
'/',
'/index',
'/iot/report/dashboardPage/Dashboard8',
'/iot/report/dashboardPage/Dashboard1',
'/iot/report/dashboardPage/Dashboard3',

@ -50,26 +50,26 @@ const remainingRouter: AppRouteRecordRaw[] = [
noTagsView: true
}
},
// {
// path: '/',
// component: Layout,
// redirect: '/index',
// name: 'Home',
// meta: {},
// children: [
// {
// path: 'index',
// component: () => import('@/views/Home/Index.vue'),
// name: 'Index',
// meta: {
// title: t('router.home'),
// icon: 'ep:home-filled',
// noCache: false,
// affix: true
// }
// }
// ]
// },
{
path: '/',
component: Layout,
redirect: '/index',
name: 'Root',
meta: {},
children: [
{
path: 'index',
component: () => import('@/views/Home/Index.vue'),
name: 'Index',
meta: {
title: t('router.home'),
icon: 'ep:home-filled',
noCache: false,
affix: true
}
}
]
},
{
path: '/user',
component: Layout,

Loading…
Cancel
Save