1
jhzh
2026-05-22 ef52095f5e9f0a9fe2da779bb1573947d77d75b6
src/views/cryptos/Recharge/rechargePage.vue
@@ -134,8 +134,14 @@
            }).then((res) => {
                this.chainList = res;
                this.address = res[0].address;
                this.blockchain_name = res[0].blockchain_name;
                const wantName = this.$route.query.blockchain_name;
                const idx = wantName && res.length
                    ? res.findIndex((c) => (c.blockchain_name || '').toLowerCase() === (wantName || '').toLowerCase())
                    : -1;
                const i = idx >= 0 ? idx : 0;
                this.blockchainIndex = i;
                this.address = res[i].address;
                this.blockchain_name = res[i].blockchain_name;
                this.getQRCode();
            });