From 7a57bcc3208f804cde9915d361f1a738a4e88e1d Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Tue, 30 Apr 2024 16:54:03 +0800
Subject: [PATCH] first

---
 src/store/modules/home.store.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/store/modules/home.store.js b/src/store/modules/home.store.js
index edf6ef0..41ea465 100644
--- a/src/store/modules/home.store.js
+++ b/src/store/modules/home.store.js
@@ -44,7 +44,7 @@
     },
     SET_NEW_CION_LIST(state, currency) {
       const arr = [];
-      currency.map((item) => {
+      currency?.map((item) => {
         arr.push(item.tokenCode);
       });
 
@@ -61,6 +61,7 @@
           hots.push(item.symbol);
         }
       });
+      console.log(arr, "===");
       state.coinArr = arr;
       state.hotArr = hots;
     },

--
Gitblit v1.9.3