Michael Wang 6 жил өмнө
parent
commit
345b4c74ca

+ 5 - 3
src/features/Login/Login.vue

@@ -178,9 +178,11 @@ export default {
     }
 
     if (
-      this.$route.path.includes("xjtu.ecs.qmth.com.cn") ||
-      this.$route.path.includes("snnu.ecs.qmth.com.cn") ||
-      this.$route.path.includes("cup.ecs.qmth.com.cn")
+      [
+        "xjtu.ecs.qmth.com.cn",
+        "snnu.ecs.qmth.com.cn",
+        "cup.ecs.qmth.com.cn"
+      ].includes(this.$route.params.domain)
     ) {
       this.disableLoginBtn = true;
       if (