ソースを参照

fix: request withdraw subscribe on confirm

root 16 時間 前
コミット
8f62a4805d
共有2 個のファイルを変更した6 個の追加2 個の削除を含む
  1. 3 1
      packageUser/pages/user/cash/cash.js
  2. 3 1
      packageUser/pages/user/fund/fund.js

+ 3 - 1
packageUser/pages/user/cash/cash.js

@@ -199,7 +199,9 @@ Page({
       var that = this
       console.log('that.data.has_bank',that.data.has_bank)
   //  if (that.data.has_bank) {
-        that.withdrawClick()
+        that.requestTakeCashSubscribe(function () {
+          that.withdrawClick()
+        })
   //  } else {
   //    that.setData({
   //      confirmDialog: false,

+ 3 - 1
packageUser/pages/user/fund/fund.js

@@ -215,7 +215,9 @@ Page({
     var that = this
     console.log('that.data.has_bank',that.data.has_bank)
 //  if (that.data.has_bank) {
-      that.withdrawClick()
+      that.requestTakeCashSubscribe(function () {
+        that.withdrawClick()
+      })
 //  } else {
 //    that.setData({
 //      confirmDialog: false,