Browse Source

no message

feature/v1.4
xpz2018 4 years ago
parent
commit
6cff08ae02
1 changed files with 2 additions and 6 deletions
  1. 8
      pages/settlement/bank-add/index.js

8
pages/settlement/bank-add/index.js

@ -168,12 +168,8 @@ Scene({
wx.showLoading({ title: '处理中', mask: true }) wx.showLoading({ title: '处理中', mask: true })
bindBankCard(this.data.form).then(res => { bindBankCard(this.data.form).then(res => {
wx.hideLoading() wx.hideLoading()
if(res.data.trxstatus == 1){
util.showBackToast('添加成功')
event.emit('EventMessage', { what: 201, desc: 'AddCard' })
} else{
util.showToast('银行卡添加失败')
}
util.showBackToast('添加成功')
event.emit('EventMessage', { what: 201, desc: 'AddCard' })
}).catch(error => { }).catch(error => {
wx.hideLoading() wx.hideLoading()
util.showToast(error) util.showToast(error)

Loading…
Cancel
Save