diff --git a/src/config/router.config.js b/src/config/router.config.js index f176507..4fed014 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -143,13 +143,13 @@ export const asyncRouterMap = [ { path: '/course/index', component: () => import(/* webpackChunkName: "goods" */ '@/views/dataCenter/course/index'), - meta: { title: '商家教学', pageTitle: '商家教学', keepAlive: false }, + meta: { title: '商家教学', pageTitle: '商家教学', keepAlive: false}, }, { 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) }) } }) diff --git a/src/views/dataCenter/goods/modules/MultiSpec.vue b/src/views/dataCenter/goods/modules/MultiSpec.vue index cdc0b04..caeadfb 100644 --- a/src/views/dataCenter/goods/modules/MultiSpec.vue +++ b/src/views/dataCenter/goods/modules/MultiSpec.vue @@ -333,7 +333,6 @@ export default { } const sku = res.skuList[0] - console.log(res) item.goods_price = sku.goods_price item.cost_price = sku.cost_price item.stock_num = sku.stock_num @@ -344,7 +343,6 @@ export default { item.goods_image = res.goods_image item.goods_price_min = res.goods_price_min }) - console.log(item) }, // 获取商品详情