From c81f4b8d09156bad7a8b58727ce0e7bf0d04e455 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Thu, 6 May 2021 18:10:39 +0800 Subject: [PATCH] no message --- pages/settlement/withdrawal/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/settlement/withdrawal/index.js b/pages/settlement/withdrawal/index.js index 1a4fad3..c982c4c 100644 --- a/pages/settlement/withdrawal/index.js +++ b/pages/settlement/withdrawal/index.js @@ -103,7 +103,7 @@ Page({ }, onConfirm: function({detail}){ var nowItem = this.data.banckCardList[detail.index] - console.log(nowItem) + // console.log(nowItem) this.data.chooseBankCard.cardName = nowItem.bankName + '(' + nowItem.cardNoSuffix + '-' + nowItem.ownerName + ')' this.data.chooseBankCard.cardId = nowItem.id this.setData({ visible: false, chooseBankCard: this.data.chooseBankCard }) @@ -123,7 +123,7 @@ Page({ wx.showLoading({ title: '加载中', mask: true }) paymentOrder({ factoryPermittedBankId: this.data.chooseBankCard.cardId, ids: this.data.checkIds }).then(res => { wx.hideLoading() - if(res.data.markedWords){ + if(res.data && res.data.markedWords){ Dialog.alert({ title: '温馨提示', message: res.data.markedWords }).then(() => { wx.navigateBack() })