41235 1 anno fa
parent
commit
b9452803af
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/views/XMHJC/product/info/index.vue

+ 2 - 2
src/views/XMHJC/product/info/index.vue

@@ -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,
             }));