fix(操作金额页): 修复转账后没有刷新金额的问题
This commit is contained in:
parent
f765c263cd
commit
3dd96fd8d7
@ -1016,7 +1016,7 @@ const transfer = async () => {
|
||||
t('transfer_success', { price: selectedCoinData.price, name: selectedPayee.name })
|
||||
)
|
||||
selectedCoin.value = null
|
||||
await fetchBankBalance()
|
||||
await fetchBankBalance() // 刷新银行余额
|
||||
} else {
|
||||
showError(t('transfer_failed', { price: selectedCoinData.price }))
|
||||
}
|
||||
@ -1054,9 +1054,8 @@ const handleExchange = async () => {
|
||||
if (response.status === true || response.errorCode === 0) {
|
||||
showSuccess(t('exchange_success', { price: selectedOption.cash }))
|
||||
|
||||
// 刷新银行余额
|
||||
closedPopup()
|
||||
await fetchBankBalance()
|
||||
await fetchBankBalance() // 刷新银行余额
|
||||
}
|
||||
|
||||
selectedExchangeOption.value = null
|
||||
@ -1081,6 +1080,7 @@ const Receive = async () => {
|
||||
})
|
||||
if (resApply.status) {
|
||||
closedPopup()
|
||||
await fetchBankBalance() // 刷新银行余额
|
||||
cashOutShow.value = true
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user