|
@@ -465,13 +465,13 @@ const getDictlist = async () => {
|
|
|
value: x.dictKey,
|
|
|
}));
|
|
|
proxy
|
|
|
- .post("/productCategory/list", {
|
|
|
+ .post("/productCategory/page", {
|
|
|
pageNum: 1,
|
|
|
pageSize: 99999,
|
|
|
status: 1,
|
|
|
})
|
|
|
.then((res) => {
|
|
|
- productCategoryList.value = res.data.map((x) => ({
|
|
|
+ productCategoryList.value = res.rows.map((x) => ({
|
|
|
label: x.name,
|
|
|
value: x.id,
|
|
|
}));
|