From 403a561610f34365bf996ac135e03e2ceafe9afc Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Thu, 05 Jun 2025 15:22:32 +0800
Subject: [PATCH] Signed-off-by: jhzh <1628036192@qq.com>

---
 src/components/mining-account/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/components/mining-account/index.vue b/src/components/mining-account/index.vue
index d565cc9..004d76e 100644
--- a/src/components/mining-account/index.vue
+++ b/src/components/mining-account/index.vue
@@ -163,12 +163,12 @@
       this.wallets = data.extends;
       this.form.symbol = this.actions[0].symbol;
       this.form.symbol_name = this.actions[0].name;
-      // let toObj = this.actions.find((item) => {
-      //   return item.symbol.toLowerCase() == "btc";
-      // });
+      let toObj = this.actions.find((item) => {
+        return item.symbol.toLowerCase() == "btc";
+      });
       // console.log('toObj: ',toObj.name)
-      this.form.symbol_to = this.actions[1].symbol;
-      this.form.symbol1_name = this.actions[1].name;
+      this.form.symbol_to = toObj.symbol;
+      this.form.symbol1_name = toObj.name;
     });
   },
   methods: {

--
Gitblit v1.9.3