shaogen1995 2 gadi atpakaļ
vecāks
revīzija
749bead9b7
1 mainītis faili ar 2 papildinājumiem un 5 dzēšanām
  1. 2 5
      web/src/App.vue

+ 2 - 5
web/src/App.vue

@@ -10,9 +10,6 @@
 export default {
 
   created() {
-    if (window.location.href === 'https://cssbbwg.4dage.com') {
-      window.location.href = 'https://cssbbwg.4dage.com/shouBo/main.html#/Layout/Home'
-    }
     // 移动端和pc端的切换
     if (
       window.navigator.userAgent.match(
@@ -20,8 +17,8 @@ export default {
       )
     ) {
       // 移动端
-      if (window.location.href.includes("shouBo/main.html#/")) {
-        window.location.href = window.location.href.replace("shouBo/main.html#/", "shouBoM/index.html#/");
+      if (window.location.href.includes("/index.html#/")) {
+        window.location.href = window.location.href.replace("/index.html#/", "mobile/index.html#/");
         setTimeout(() => {
           location.reload(true);
         }, 200);