Browse Source

营业资质

panhui 5 năm trước cách đây
mục cha
commit
b533728408
1 tập tin đã thay đổi với 1 bổ sung11 xóa
  1. 1 11
      screens/HomeScreenPage3.js

+ 1 - 11
screens/HomeScreenPage3.js

@@ -329,19 +329,9 @@ export default function HomePage3() {
         defaultValue={categoryList}
         submit={selectVal => {
           const info = { ...selectVal[selectVal.length - 1] };
-          delete info.pId;
-          delete info.choose;
-          delete info.active;
-          console.log(info);
           loading();
           updateMerchant({
-            category: {
-              active: true,
-              children: [],
-              id: 139,
-              name: "水果生榨",
-              parent: 23,
-            },
+            categoryId: info.id,
           }).then(() => {
             success("成功");
           });