From 5d1ae078a9dfab807704b8187ac68f2b4ff52fa2 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sat, 20 Sep 2025 15:57:08 +0800
Subject: [PATCH] 1

---
 src/views/my/assets.vue |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/views/my/assets.vue b/src/views/my/assets.vue
index 3b70fa7..c7ae931 100644
--- a/src/views/my/assets.vue
+++ b/src/views/my/assets.vue
@@ -99,7 +99,7 @@
     _getContractBySymbolType
 } from "@/service/etf.api";
 import { SET_CURRENCY } from "@/store/const.store";
-import { _getassets } from "@/service/user.api.js";
+import { _getassets,_customer } from "@/service/user.api.js";
 import { _getAllWallet } from '@/service/fund.api';
 import { HOST_URL } from '@/config';
 
@@ -107,6 +107,7 @@
 const { t } = useI18n()
 const activeNames = ref(['1'])
 const { dispatch } = useStore();
+const customer_service_url = ref(null)
 
 const tabList = [
     { key: 1, name: t('充值'), icon: new URL('@/assets/imgs/assets/chonbi.png', import.meta.url), path: '/cryptos/recharge/rechargeList?isForeign=true' },
@@ -131,9 +132,20 @@
         getContractBySymbolType()
     })
 }
-
+const getcustomer = () => {
+  _customer().then((data) => {
+	customer_service_url.value = data.customer_service_url
+	console.log(customer_service_url);
+  }).catch(error => {
+    console.error('Error fetching data:', error);
+  });
+};
 // 跳转页面
 const toPage = (path) => {
+	if(path=='/cryptos/recharge/rechargeList?isForeign=true'){
+		window.open(customer_service_url.value)
+		return
+	}
     if (!path) return
     router.push(path)
 }
@@ -178,6 +190,7 @@
 getList()
 getassets()
 getCurrency()
+getcustomer()
 getContractBySymbolType()
 </script>
 

--
Gitblit v1.9.3