From 089bf5d2378b3c4a61d795b2a92bede2c193b771 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 06 Jan 2026 11:22:58 +0800
Subject: [PATCH] 1
---
src/views/modules/union-stocks/config.js | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/src/views/modules/union-stocks/config.js b/src/views/modules/union-stocks/config.js
new file mode 100644
index 0000000..36bda5b
--- /dev/null
+++ b/src/views/modules/union-stocks/config.js
@@ -0,0 +1,26 @@
+import { isAuth } from '@/utils'
+export const getStockName = data => {
+ let name = "US-stocks";
+ if(isAuth("union-stocks:us")){
+ name = "US-stocks";
+ }
+ else if(isAuth("union-stocks:hk")){
+ name = "HK-stocks";
+ }
+ else if(isAuth("union-stocks:tw")){
+ name = "TW-stocks";
+ }
+ else if(isAuth("union-stocks:a")){
+ name = "A-stocks";
+ }
+ else if(isAuth("union-stocks:jp")){
+ name = "JP-stocks";
+ }
+ else if(isAuth("union-stocks:india")){
+ name = "INDIA-stocks";
+ }
+ else if(isAuth("union-stocks:uk")){
+ name = "UK-stocks";
+ }
+ return name;
+}
--
Gitblit v1.9.3