Explorar el Código

Merge remote-tracking branch 'origin/skk/feat/writeOff'

xing.li hace 3 años
padre
commit
d3f26810c2
Se han modificado 2 ficheros con 3 adiciones y 10 borrados
  1. 1 4
      api/welfareMall.js
  2. 2 6
      pages/welfareMall/activityInfo/activityInfo.js

+ 1 - 4
api/welfareMall.js

@@ -215,10 +215,7 @@ class WelfareMall extends request {
   static delStoreStaff(params) {
     return this.postRequest(`${this.BASE_URL}open/staff/del-store-staff`, params);
   }
-
-
-
-
+  
 }
 
 export default WelfareMall

+ 2 - 6
pages/welfareMall/activityInfo/activityInfo.js

@@ -151,19 +151,15 @@ Page({
       } else {
         _self.setData({
           hideWindowValue:true,
-          // preventDup:true
+          preventDup:true
         })
       }
 
     } catch (err) {
-      // this.setData({
-      //   preventDup:true
-      // })
-      app.showToast(err.msg);
-    } finally{
       this.setData({
         preventDup:true
       })
+      app.showToast(err.msg);
     }
 
   },