shish 3 жил өмнө
parent
commit
cfe872915b

+ 10 - 8
ghsApp/src/admin/home/me.vue

@@ -372,16 +372,18 @@ export default {
         that.applyCash();
       }
     },
-    applyCash () {
-      uni.showLoading({title: "提交中"});
+    applyCash() {
       let that = this
-      applyCash({}).then(res=>{
-        if(res.code == 1){
-          uni.hideLoading();
-        }
-        that.$msg(res.msg)
+      that.$util.confirmModal({content:'确认提现?'},() => {
+        uni.showLoading({title: "提交中"})
+        applyCash({}).then(res=>{
+          if(res.code == 1){
+            uni.hideLoading()
+            that.init()
+            that.$msg(res.msg)
+          }
+        })
       })
-
     }
   },
 };