From 1201bf91b3dcac3f5b69c755ff2e54c362956467 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Mon, 09 Mar 2026 16:41:01 +0800
Subject: [PATCH] 1

---
 src/views/cryptos/Recharge/rechargePage.vue |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/views/cryptos/Recharge/rechargePage.vue b/src/views/cryptos/Recharge/rechargePage.vue
index e21618e..5c564ff 100644
--- a/src/views/cryptos/Recharge/rechargePage.vue
+++ b/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();
 
             });

--
Gitblit v1.9.3