diff --git a/src/api/product/category.js b/src/api/product/category.js index 19ff711..aea97c7 100644 --- a/src/api/product/category.js +++ b/src/api/product/category.js @@ -1,4 +1,3 @@ -import { instance } from '../request/http' /** * 品类相关接口 */ @@ -21,7 +20,7 @@ }) } -// 品类更新 +// 品类详情 export function detail(data) { return request({ url: `/categoryInfo/detail`, diff --git a/src/api/product/category.js b/src/api/product/category.js index 19ff711..aea97c7 100644 --- a/src/api/product/category.js +++ b/src/api/product/category.js @@ -1,4 +1,3 @@ -import { instance } from '../request/http' /** * 品类相关接口 */ @@ -21,7 +20,7 @@ }) } -// 品类更新 +// 品类详情 export function detail(data) { return request({ url: `/categoryInfo/detail`, diff --git a/src/components/mycomponent/dialog/categoryAddDialog.vue b/src/components/mycomponent/dialog/categoryAddDialog.vue index 4e547d4..c47e73c 100644 --- a/src/components/mycomponent/dialog/categoryAddDialog.vue +++ b/src/components/mycomponent/dialog/categoryAddDialog.vue @@ -8,19 +8,20 @@ @close="close" >