From 349c48e168b9f2580334422228acde7d1b21bede Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Fri, 05 Jun 2026 11:19:15 +0800
Subject: [PATCH] 1
---
src/views/login/index.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 82bdaa4..f9da4c4 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -55,7 +55,6 @@
import store from '@/store/store'
import { LOGO, customerServiceUrl } from "@/config";
const { t } = useI18n()
-const customer_service_url = ref(customerServiceUrl) // 客服链接,有值的话就会跳转到客服外链
const router = useRouter()
const onRoute = (path) => {
@@ -63,8 +62,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)
}
@@ -224,7 +223,11 @@
width: 100%;
img {
- width: 8.5rem;
+ width: auto;
+ max-width: 280px;
+ height: auto;
+ max-height: 120px;
+ object-fit: contain;
}
}
--
Gitblit v1.9.3