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