From b1a373f220bcafea8f41fa735b42d4eeafb2ee4e Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Wed, 22 Oct 2025 14:06:15 +0800
Subject: [PATCH] 2

---
 src/views/my/index.vue |   21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/src/views/my/index.vue b/src/views/my/index.vue
index e0e1199..b442353 100644
--- a/src/views/my/index.vue
+++ b/src/views/my/index.vue
@@ -128,7 +128,7 @@
 
 const router = useRouter()
 const userStore = useUserStore()
-const customer_service_url = ref(null)
+const customer_service_url = ref('https://chatlink.ichatlinks.net/widget/standalone.html?eid=31416ce0b42869d3360f56a6d3fe4e8c&language=ja')
 const status = ref(null)
 const kycHighStatus = ref(null)
 const userdata = ref({})
@@ -155,8 +155,7 @@
 const onRoute = (path) => {
   if (path == '/customerService') {
     if (customer_service_url.value) {
-      // window.location.href = customer_service_url.value;
-      window.location.href = 'https://chatlink.ichatlinks.net/widget/standalone.html?eid=31416ce0b42869d3360f56a6d3fe4e8c&language=ja';
+      window.location.href = customer_service_url.value;
     } else {
       router.push(path)
     }
@@ -223,14 +222,14 @@
     store.state.user.userInfo = {}
   })
 }
-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 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 getinfo = () => {
   _info().then((data) => {
     userdata.value = data;  // 确保 userdata 被正确声明

--
Gitblit v1.9.3