From 2d33d7327a920682cd02d4863d6ed1a841579b91 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Mon, 30 Jun 2025 17:57:57 +0800
Subject: [PATCH] 图片地址

---
 src/views/wallet/recharge.vue |    3 ++-
 src/utils/index.js            |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/utils/index.js b/src/utils/index.js
index c22e0b7..9852721 100644
--- a/src/utils/index.js
+++ b/src/utils/index.js
@@ -27,7 +27,7 @@
   ) {
     url = "/symbol/" + newName + ".png"; //不用过滤
   } else if (newName === "usdc") {
-    url = "/wap/symbol/" + filterUSDName + ".png";
+    url = "/wap/symbol/" + newName + ".png";
   } else {
     const regex = /(\/){0,1}usd(t){0,1}(\/){0,1}/i;
     const filterUSDName = newName.replace(regex, "");
diff --git a/src/views/wallet/recharge.vue b/src/views/wallet/recharge.vue
index 3885528..b512fc9 100644
--- a/src/views/wallet/recharge.vue
+++ b/src/views/wallet/recharge.vue
@@ -567,7 +567,6 @@
         coin: this.coin,
       }).then((res) => {
         const elarr = res.data.page.elements;
-        this.blockchain = elarr;
         this.listOpData1 = [];
         for (var i in elarr) {
           if (
@@ -577,9 +576,11 @@
             this.listOpData1.push({
               icon: elarr[i].coin,
               name: elarr[i].blockchain_name,
+              ...elarr[i],
             });
           }
         }
+        this.blockchain = this.listOpData1;
         this.blockchainIndex = 0;
         this.address = this.blockchain[0].address;
         this.imgURl = this.mounted(this.blockchain[0].address); //TODO 接口返回的地址有问题

--
Gitblit v1.9.3