From e3097587828362e34352cf4f378c8f5a260ea700 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Thu, 19 Sep 2024 16:32:00 +0800
Subject: [PATCH] no message

---
 src/page/user/recharge-sure.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/page/user/recharge-sure.vue b/src/page/user/recharge-sure.vue
index 6ca9144..aa8f783 100644
--- a/src/page/user/recharge-sure.vue
+++ b/src/page/user/recharge-sure.vue
@@ -82,6 +82,7 @@
         type="primary"
         style="margin-top: 1.04rem; margin-bottom: 1.04rem"
         @click="setOutMoney"
+        :disabled="isclick"
         >{{ $t("提款") }}</van-button
       >
     </main>
@@ -91,6 +92,7 @@
 <script>
 import { ActionSheet, Notify } from "vant";
 import ClipboardJS from "clipboard";
+import _ from 'lodash';
 import { getBankCard, getMoney, outMoney } from "../../axios/api";
 
 export default {
@@ -100,7 +102,7 @@
       value: 0,
 
       paymentSelectData: "IN",
-
+      isclick:false,
       show: false,
       yhkshow:false,
       // 提款聚到
@@ -142,16 +144,19 @@
   },
   methods: {
     async setOutMoney() {
+      if (this.isclick) return;
+      console.log('11111');
       const res = await outMoney({
         amt: this.value,
         assetsType: this.accectType,
         bankId:this.yhkid
       });
+      this.isclick = false;
       if (res.status === 0) {
         Notify({ type: "success", message: this.$t("hj182") });
-        setTimeout(() => {
+        // setTimeout(() => {
           this.$router.push("/cashlist");
-        }, 500);
+        // }, 500);
       } else {
         Notify(res.msg);
       }

--
Gitblit v1.9.3