Explorar el Código

增加网站是否可以访问的判断

Jing hace 2 semanas
padre
commit
cc3bb65281

+ 1 - 1
.nuxt/manifest/latest.json

@@ -1 +1 @@
-{"id":"b024766d-37e6-4b10-ab12-92ef83c594d0","timestamp":1749796568598}
+{"id":"0f3aa319-1455-4ca6-ad7c-8293a265e148","timestamp":1750142208851}

+ 1 - 0
.nuxt/manifest/meta/0f3aa319-1455-4ca6-ad7c-8293a265e148.json

@@ -0,0 +1 @@
+{"id":"0f3aa319-1455-4ca6-ad7c-8293a265e148","timestamp":1750142208851,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 0 - 1
.nuxt/manifest/meta/b024766d-37e6-4b10-ab12-92ef83c594d0.json

@@ -1 +0,0 @@
-{"id":"b024766d-37e6-4b10-ab12-92ef83c594d0","timestamp":1749796568598,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 1 - 1
.nuxt/tsconfig.json

@@ -102,7 +102,7 @@
         "./imports"
         "./imports"
       ],
       ],
       "#app-manifest": [
       "#app-manifest": [
-        "./manifest/meta/b024766d-37e6-4b10-ab12-92ef83c594d0.json"
+        "./manifest/meta/0f3aa319-1455-4ca6-ad7c-8293a265e148.json"
       ],
       ],
       "#components": [
       "#components": [
         "./components"
         "./components"

+ 6 - 2
components/home/pageHead.vue

@@ -240,8 +240,12 @@ let getLogo = async () => {
         method: 'GET',
         method: 'GET',
         query: {},
         query: {},
     });
     });
-    logo.value = responseStatus.data.logo;
-    webSiteName.value = responseStatus.data.website_name;
+    if (responseStatus.code == 200) {
+        logo.value = responseStatus.data.logo;
+        webSiteName.value = responseStatus.data.website_name;
+    } else if (responseStatus.code == 0) {
+        window.location.href = $CwebUrl + '/404';
+    }
 }
 }
 getLogo();
 getLogo();
 //3.跳转菜单逻辑 end ---------------------------------------->
 //3.跳转菜单逻辑 end ---------------------------------------->

BIN
public/ad/01.png


BIN
public/ad/02.png


BIN
public/ad/03.png


BIN
public/ad/new1.png


BIN
public/ad/new2.png