(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-612d55f9"],{6650:function(o,t,e){},dd7b:function(o,t,e){"use strict";e.r(t);e("7ded"),e("8c92"),e("509f");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,t=window.location.host,e={domain:t};this.$store.dispatch("getssourl",e).then((function(t){1==t.code&&(o.ssourl=t.data.sso_url,o.tiaozuan())})).catch((function(){}))},tiaozuan:function(){if(console.log(this.gwToken),""==this.gwToken||null==this.gwToken){var o=window.location.host,t=document.location.protocol,e=this;setTimeout((function(){window.location.href=t+"//"+e.ssourl+"/login.html?redirect="+t+"//"+o+"/platformlogin"}),1e3)}}}},s=c,r=(e("eecc"),e("cba8")),u=Object(r["a"])(s,n,i,!1,null,null,null);t["default"]=u.exports},eecc:function(o,t,e){"use strict";e("6650")}}]); //# sourceMappingURL=chunk-612d55f9.c756653f.js.map