Explorar o código

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

Michael Wang %!s(int64=6) %!d(string=hai) anos
pai
achega
2a127b3e67
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;