Procházet zdrojové kódy

开发环境去除端口,当做domain

Michael Wang před 6 roky
rodič
revize
2a127b3e67
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/modules/portal/views/Login.vue

+ 1 - 1
src/modules/portal/views/Login.vue

@@ -157,7 +157,7 @@ export default {
       this.$router.push(this.$route.hash.slice(1));
       return;
     }
-    this.loginInfo.domain = window.location.host;
+    this.loginInfo.domain = window.location.hostname;
     sessionStorage.clear();
     var params = this.$route.query;