This commit is contained in:
landaiqing 2023-12-23 18:32:48 +08:00
parent ef11112846
commit 11cfe766d7

View File

@ -59,39 +59,52 @@ const routes = [
redirect: '/admin', redirect: '/admin',
name: '/settings', name: '/settings',
component: settings, component: settings,
meta:{Authorization:true},
children: [ children: [
{ {
path: '/admin', path: '/admin',
name: '/admin', name: '/admin',
component: personalHomePage, component: personalHomePage,
meta:{Authorization:true},
}, },
{ {
path: '/system', path: '/system',
name: '/system', name: '/system',
redirect: '/appearance', redirect: '/appearance',
component: systemSettings, component: systemSettings,
meta:{Authorization:true},
children:[ children:[
{ {
path: '/appearance', path: '/appearance',
name: '/appearance', name: '/appearance',
component: appearanceSettings component: appearanceSettings,
meta:{Authorization:true},
}, },
{ {
path: '/information', path: '/information',
name: '/information', name: '/information',
component: informationSettings component: informationSettings,
meta:{Authorization:true},
}, },
{ {
path: '/function', path: '/function',
name: '/function', name: '/function',
component: functionSettings component: functionSettings,
meta:{Authorization:true},
} }
] ]
}, },
{ {
path: '/website', path: '/website',
name: '/website', name: '/website',
component: websiteManage component: websiteManage,
meta:{Authorization:true},
}, },
{ {
@ -99,16 +112,22 @@ const routes = [
name: '/onSite', name: '/onSite',
redirect:'/baseSettings', redirect:'/baseSettings',
component: onSiteSetting, component: onSiteSetting,
meta:{Authorization:true},
children:[ children:[
{ {
path: '/baseSettings', path: '/baseSettings',
name: '/baseSettings', name: '/baseSettings',
component: baseSettings component: baseSettings,
meta:{Authorization:true},
}, },
{ {
path: '/importExport', path: '/importExport',
name: '/importExport', name: '/importExport',
component: importExport component: importExport,
meta:{Authorization:true},
}, },
] ]
}, },