From 878503d685b8d75460c242ad90be3fc8f604cd93 Mon Sep 17 00:00:00 2001 From: Eric <1670996608@qq.com> Date: Mon, 15 Sep 2025 17:04:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=95=B0=E5=AD=97=E8=B4=A7=E5=B8=81=20?= =?UTF-8?q?=E5=8F=AA=E4=BF=9D=E7=95=99=20USDT=20TRC20=20=E5=92=8C=20USDT?= =?UTF-8?q?=20ERC20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/financialInformation/index.vue | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/pages/user/financialInformation/index.vue b/pages/user/financialInformation/index.vue index 5b2c9ec..c11f6aa 100644 --- a/pages/user/financialInformation/index.vue +++ b/pages/user/financialInformation/index.vue @@ -258,6 +258,11 @@ export default { this.bankImg1 = bank.bank_img_1 ? ({url: this.imgBaseUrl + bank.bank_img_1}) : {} this.show = false; this.$refs.alertDialog.open(); + if (this.current === 2){ + this.getUSDTCurrency() + }else { + this.getCurrency() + } }, closeDialog() { this.show = true; @@ -303,6 +308,16 @@ export default { })); } }, + async getUSDTCurrency() { + const res = await getDictByCode('currency_type'); + const usdt = res.data?.filter(i => i.fun_item_code == 'USDT TRC20' || i.fun_item_code == 'USDT ERC20') + if (res && res.code === 0) { + this.currencyOptions = usdt?.map((item) => ({ + text: item.fun_item_text, + value: item.fun_item_code + })); + } + }, async handleDeleteBank() { uni.showModal({ content: this.$t('modal.deleteBankCardContent'), @@ -441,7 +456,6 @@ export default { async created() { await this.getImgPathData(); this.getBankListData(); - this.getCurrency(); }, components: { Segmented,