From 51b35cc2acf48af03f32f1918d20a126a48d6e9b Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Wed, 11 Mar 2026 13:46:10 +0800
Subject: [PATCH] 该客服
---
src/views/register/index.vue | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/views/register/index.vue b/src/views/register/index.vue
index de0ff1c..82d1791 100644
--- a/src/views/register/index.vue
+++ b/src/views/register/index.vue
@@ -88,7 +88,6 @@
import { ref, onMounted, reactive, onUnmounted } from 'vue';
import { showToast } from "vant";
import store from '@/store/store'
-const customer_service_url = ref(customerServiceUrl) // 客服链接,有值的话就会跳转到客服外链
const { t } = useI18n()
const router = useRouter()
const onRoute = (path) => {
@@ -96,8 +95,8 @@
router.go(-1)
} else {
if (path == '/customerService') {
- if (customer_service_url.value) {
- window.location.href = customer_service_url.value;
+ if (customerServiceUrl()) {
+ window.location.href = customerServiceUrl();
} else {
router.push(path)
}
--
Gitblit v1.9.3