shaogen1995 2 jaren geleden
bovenliggende
commit
f4562badfb
2 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 2 2
      web/src/App.vue
  2. 2 2
      webM/src/App.vue

+ 2 - 2
web/src/App.vue

@@ -17,8 +17,8 @@ export default {
       )
     ) {
       // 移动端
-      if (window.location.href.includes("/index.html#/")) {
-        window.location.href = window.location.href.replace("/index.html#/", "mobile/index.html#/");
+      if (window.location.href.includes("https://cssbbwg.4dage.com")) {
+        window.location.href='https://cssbbwg.4dage.com/mobile/index.html#/Layout/Home'
         setTimeout(() => {
           location.reload(true);
         }, 200);

+ 2 - 2
webM/src/App.vue

@@ -19,8 +19,8 @@ export default {
       // 移动端
     } else {
       // PC端
-      if (window.location.href.includes("mobile/index.html#/")) {
-        window.location.href = window.location.href.replace("mobile/index.html#/", "index.html#/");
+      if (window.location.href.includes("https://cssbbwg.4dage.com/")) {
+        window.location.href ='https://cssbbwg.4dage.com/'
         setTimeout(() => {
           location.reload(true);
         }, 1000);