Ver código fonte

feat(order): update

gemercheung 3 anos atrás
pai
commit
bd4b1ab61b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/product/addCategoryModal.vue

+ 1 - 1
src/views/product/addCategoryModal.vue

@@ -66,7 +66,7 @@ wapBannerUrl: "https://4dkk.4dage.com/shop/huafa/20220302/23135195983e96.png?x-o
           console.log('params', params);
           const res = (await categoryApi(params)) as any as TreeNode[];
           // const treeData = makeTree(res);
-          return res.filter((i) => i.level === 'L2');
+          return res.filter((i) => i.level === 'L1');
         },
         labelField: 'name',
         valueField: 'id',