diff --git a/src/config/router.config.js b/src/config/router.config.js index 311112c..d28db5f 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -148,8 +148,8 @@ export const asyncRouterMap = [ { path: '/feedback/index', component: () => import(/* webpackChunkName: "goods" */ '@/views/dataCenter/feedback/index'), - meta: { title: '意见反馈', keepAlive: false, permission: ['access'] } - } + meta: { title: '意见反馈', pageTitle: '意见反馈', keepAlive: false}, + }, ] }, diff --git a/src/layouts/BasicLayout.vue b/src/layouts/BasicLayout.vue index ae1a6f1..09c5f96 100644 --- a/src/layouts/BasicLayout.vue +++ b/src/layouts/BasicLayout.vue @@ -105,6 +105,8 @@ export default { } this.menus[0].children.map((child, eq) => { if (child.path == '/goods/category/index') this.menus[0].children.splice(eq, 1) + if (child.path == '/feedback/index') this.menus[0].children.splice(eq, 1) + if (child.path == '/course/index') this.menus[0].children.splice(eq, 2) }) } })