From 4e40eb60d399fd7ff4b19a5e50e6f1d336f62c88 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Fri, 26 Dec 2025 16:00:12 +0800
Subject: [PATCH] 1
---
src/page/home/home.vue | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/page/home/home.vue b/src/page/home/home.vue
index 814d43f..8b39b13 100644
--- a/src/page/home/home.vue
+++ b/src/page/home/home.vue
@@ -57,7 +57,7 @@
<div class="name">{{ $t("yeb") }}</div>
</div>
</li> -->
- <li @click="aRouter">
+ <li @click="$router.push('/recharge')">
<div class="link">
<div class="icon">
<img
@@ -92,6 +92,7 @@
</div>
</li> -->
<li @click="aRouter1">
+ <!-- <li @click="$router.push('/recharge')"> -->
<div class="link">
<div class="icon">
<img
@@ -353,7 +354,11 @@
},
aRouter1() {
// window.open('https://chatlink.wchatlink.com/widget/standalone.html?eid=139eb5679d5a9aea0650dbb3c96ca1a2&language=en');
- window.open(this.onlineService);
+ if (window.localStorage.getItem("USERTOKEN")) {
+ window.open(this.onlineService);
+ }else{
+ this.$router.push('/login')
+ }
},
getdialog() {
@@ -498,7 +503,6 @@
let data = await api.getInfoSite();
if (data.status === 0) {
this.onlineService = data.data.onlineService;
- console.log(this.onlineService, 'this.onlineService');
} else {
this.$store.commit("elAlertShow", {
elAlertShow: true,
--
Gitblit v1.9.3