diff --git a/src/api/productAttrCate.js b/src/api/productAttrCate.js index 1d7043b..587630c 100644 --- a/src/api/productAttrCate.js +++ b/src/api/productAttrCate.js @@ -29,3 +29,9 @@ export function updateProductAttrCate(id,data) { data:data }) } +export function fetchListWithAttr() { + return request({ + url:'/productAttribute/category/list/withAttr', + method:'get' + }) +} diff --git a/src/router/index.js b/src/router/index.js index 217ebd7..48b85bd 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -60,7 +60,8 @@ export const constantRouterMap = [ path: 'productComment', name: 'productComment', component: () => import('@/views/pms/product/index'), - meta: {title: '商品评价', icon: 'product-comment'} + meta: {title: '商品评价', icon: 'product-comment'}, + hidden:true }, { path: 'productCate', diff --git a/src/views/pms/productCate/components/ProductCateDetail.vue b/src/views/pms/productCate/components/ProductCateDetail.vue index 122511c..08381b8 100644 --- a/src/views/pms/productCate/components/ProductCateDetail.vue +++ b/src/views/pms/productCate/components/ProductCateDetail.vue @@ -46,8 +46,7 @@ + :options="filterAttrs"> 删除 @@ -70,8 +69,8 @@