(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b0d57d44"],{"8dd8":function(o,e,t){},dd7b:function(o,e,t){"use strict";t.r(e);t("7ded"),t("a78e"),t("720d");var n,i,c={name:"Login",data:function(){return{codeUrl:"",cookiePassword:"",gwToken:"",loginForm:{username:"demo",password:"123456",rememberMe:!1,code:"",uuid:""},loginRules:{},loading:!1,redirect:void 0}},watch:{$route:{handler:function(o){this.redirect=o.query&&o.query.redirect},immediate:!0}},created:function(){this.getssourl()},methods:{getssourl:function(){var o=this,e=window.location.host,t={domain:e};this.$store.dispatch("getssourl",t).then((function(e){1==e.code&&(o.ssourl=e.data.sso_url,o.tiaozuan())})).catch((function(){}))},tiaozuan:function(){if(console.log(this.gwToken),""==this.gwToken||null==this.gwToken){var o=window.location.host,e=document.location.protocol,t=this;setTimeout((function(){window.location.href=e+"//"+t.ssourl+"/login.html?redirect="+e+"//"+o+"/platformlogin"}),1e3)}}}},s=c,d=(t("eecc"),t("2877")),r=Object(d["a"])(s,n,i,!1,null,null,null);e["default"]=r.exports},eecc:function(o,e,t){"use strict";t("8dd8")}}]);
//# sourceMappingURL=chunk-b0d57d44.a672684b.js.map