admin manage page update
This commit is contained in:
@@ -11,6 +11,11 @@ import informationSettings from "@/components/setting/system/InformationSettings
|
||||
import functionSettings from "@/components/setting/system/FunctionSettings.vue";
|
||||
import systemSettings from "@/components/setting/system/SystemSettings.vue";
|
||||
import websiteManage from "@/components/setting/website/websiteManage.vue";
|
||||
import myNav from "@/components/myNav/MyNav.vue";
|
||||
import personalHomePage from "@/components/setting/home/PersonalHomePage.vue";
|
||||
import onSiteSetting from "@/components/setting/onsite/OnSiteSetting.vue";
|
||||
import baseSettings from "@/components/setting/onsite/BaseSettings.vue";
|
||||
import importExport from "@/components/setting/onsite/ImportExport.vue";
|
||||
const originalPush = VueRouter.prototype.push
|
||||
VueRouter.prototype.push = function push(location) {
|
||||
return originalPush.call(this, location).catch(err => err)
|
||||
@@ -41,13 +46,18 @@ const routes = [
|
||||
path: '/navDetail',
|
||||
name: 'navDetail',
|
||||
component: navDetail
|
||||
},
|
||||
{
|
||||
path: '/myNav',
|
||||
name: 'myNav',
|
||||
component: myNav
|
||||
}
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/settings',
|
||||
redirect: '/admin',
|
||||
name: 'settings',
|
||||
redirect: '/personal',
|
||||
name: '/settings',
|
||||
component: settings,
|
||||
children: [
|
||||
{
|
||||
@@ -77,7 +87,30 @@ const routes = [
|
||||
path: '/website',
|
||||
name: '/website',
|
||||
component: websiteManage
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/personal',
|
||||
name: '/personal',
|
||||
component: personalHomePage
|
||||
},
|
||||
{
|
||||
path: '/onSite',
|
||||
name: '/onSite',
|
||||
redirect:'/baseSettings',
|
||||
component: onSiteSetting,
|
||||
children:[
|
||||
{
|
||||
path: '/baseSettings',
|
||||
name: '/baseSettings',
|
||||
component: baseSettings
|
||||
},
|
||||
{
|
||||
path: '/importExport',
|
||||
name: '/importExport',
|
||||
component: importExport
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
],
|
||||
},
|
||||
|
Reference in New Issue
Block a user