统一从后台拿

main
liutao 7 days ago
parent 69664bf6b0
commit 41d0342ac3

@ -55,7 +55,9 @@ const remainingRouter: AppRouteRecordRaw[] = [
component: Layout, component: Layout,
redirect: (to) => ({ path: '/index', query: to.query }), redirect: (to) => ({ path: '/index', query: to.query }),
name: 'Root', name: 'Root',
meta: {}, meta: {
hidden: true
},
children: [ children: [
{ {
path: 'index', path: 'index',
@ -64,6 +66,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
meta: { meta: {
title: t('router.home'), title: t('router.home'),
icon: 'ep:home-filled', icon: 'ep:home-filled',
hidden: true,
noCache: false, noCache: false,
affix: true affix: true
} }

Loading…
Cancel
Save