lisenzhou hace 2 años
padre
commit
7e3f74302f
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5
    1
      src/subpackages/pages/marketing/changeVisit/index.jsx

+ 5
- 1
src/subpackages/pages/marketing/changeVisit/index.jsx Ver fichero

@@ -306,6 +306,7 @@ export default withLayout((props) => {
306 306
     // );
307 307
     // return;
308 308
     if (CurrentStatusId === 3) {
309
+      Taro.showLoading()
309 310
       fetch({
310 311
         url: API_SURE_CHIP,
311 312
         method: "put",
@@ -319,7 +320,9 @@ export default withLayout((props) => {
319 320
           },
320 321
         },
321 322
       }).then(() => {
323
+   
322 324
         Taro.showToast({ title: "修改成功", icon: "none", duration: 2000 });
325
+        
323 326
         setTimeout(() => {
324 327
           Taro.navigateBack({ delta: 1 });
325 328
         }, 2000);
@@ -350,7 +353,7 @@ export default withLayout((props) => {
350 353
         });
351 354
         return;
352 355
       }
353
-
356
+      Taro.showLoading()
354 357
       fetch({
355 358
         url: API_SURE_SIGN,
356 359
         method: "put",
@@ -391,6 +394,7 @@ export default withLayout((props) => {
391 394
         });
392 395
         return;
393 396
       }
397
+      Taro.showLoading()
394 398
       fetch({
395 399
         url: API_SURE_BUY,
396 400
         method: "put",