Explorar el Código

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

Michael Wang hace 6 años
padre
commit
2a127b3e67
Se han modificado 1 ficheros con 1 adiciones y 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;