mall:完善商品分类的管理后台界面

This commit is contained in:
YunaiV
2022-07-30 20:28:01 +08:00
parent 6a0f713452
commit 969c387764
7 changed files with 48 additions and 176 deletions

View File

@@ -283,12 +283,12 @@
<script>
import {createSpu, updateSpu, deleteSpu, getSpu, getSpuPage, exportSpuExcel} from "@/api/mall/product/spu";
import {
createCategory,
deleteCategory,
createProductCategory,
deleteProductCategory,
exportCategoryExcel,
getCategory,
listCategory,
updateCategory
getProductCategory,
getProductCategoryList,
updateProductCategory
} from "@/api/mall/product/category";
import {
createProperty,
@@ -585,7 +585,7 @@ export default {
/** 查询分类 */
getListCategory() {
// 执行查询
listCategory().then(response => {
getProductCategoryList().then(response => {
this.categoryList = this.handleTree(response.data, "id", "parentId");
});