weixin_52219567 3 天之前
父节点
当前提交
2ba30b53c4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/diy/pccomponents/pages/goodsList.vue

+ 2 - 2
src/views/diy/pccomponents/pages/goodsList.vue

@@ -76,7 +76,7 @@ const getDataList = () => {
     //手动选择
     if (datas.goodsType == 1) {
       if (datas.goodsIds.length > 0) {
-        listBase({ ...queryParams, ids: datas.goodsIds.join(',') }).then((res) => {
+        apiFunc({ ...queryParams, ids: datas.goodsIds.join(',') }).then((res) => {
           if (res.code == 200) {
             dataList.value = res.rows;
           }
@@ -85,7 +85,7 @@ const getDataList = () => {
     } else if (datas.goodsType == 2) {
       //分类查询
       if (datas.categoryIds && datas.categoryIds.length > 0) {
-        listBase({
+        apiFunc({
           ...queryParams,
           categoryIds: datas.categoryIds.join(',')
         }).then((res) => {