diff --git a/src/api/modules/index.js b/src/api/modules/index.js index 1fe9234..23b0876 100644 --- a/src/api/modules/index.js +++ b/src/api/modules/index.js @@ -72,4 +72,4 @@ export function cardlists(query) { url: "/permission/cardlists", data: query, }); -} \ No newline at end of file +} diff --git a/src/router/originalRoutingTable.js b/src/router/originalRoutingTable.js index aca06ea..845924f 100644 --- a/src/router/originalRoutingTable.js +++ b/src/router/originalRoutingTable.js @@ -75,6 +75,26 @@ const routerList = [ }, ], }, + { + path: "/config", + component: Layout, + redirect: "config", + meta: { + requiresAuth: true, //有一些页面是否登录才能进去 + name: "服务配置", + }, + children: [ + { + path: "/config", + name: "config", + component: () => import("../views/config/index.vue"), + meta: { + requiresAuth: true, //有一些页面是否登录才能进去 + name: "服务配置", + }, + }, + ], + }, { path: "/goods", component: Layout, @@ -90,7 +110,7 @@ const routerList = [ component: () => import("../views/goods/index.vue"), meta: { requiresAuth: true, //有一些页面是否登录才能进去 - name: "项目列表", + name: "服务项目", }, }, ],