From 02a3d94d359b34e915f34abec024cbc1504a6a7c Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Fri, 18 Apr 2025 11:00:14 +0800
Subject: [PATCH] feat
---
src/views/forex/home.vue | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/src/views/forex/home.vue b/src/views/forex/home.vue
index 946ddd4..bf0de7d 100644
--- a/src/views/forex/home.vue
+++ b/src/views/forex/home.vue
@@ -366,17 +366,19 @@
router.push("/trading/spreads-swaps-commissions");
};
const getSymbol = () => {
- console.log('getSymbol')
- API.url("wap/api/item!list.action", {}).then((res) => {
- allSymbol.value = res.data
- .map((val) => {
- return val.symbol;
- })
- .join(",");
- getList();
- }).catch((err) => {
- console.log(err)
- });
+ console.log("getSymbol");
+ API.url("wap/api/item!list.action", {})
+ .then((res) => {
+ allSymbol.value = res.data
+ .map((val) => {
+ return val.symbol;
+ })
+ .join(",");
+ getList();
+ })
+ .catch((err) => {
+ console.log(err);
+ });
};
const getList = () => {
API.url("wap/api/hobi!getRealtime.action", { symbol: allSymbol.value }).then(
--
Gitblit v1.9.3