(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-68d5bf9e"],{"8dd8":function(o,e,n){},dd7b:function(o,e,n){"use strict";n.r(e);n("7ded"),n("a78e"),n("720d");var t,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,n={domain:e};this.$store.dispatch("getssourl",n).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,n=this;setTimeout((function(){window.location.href=e+"//"+n.ssourl+"/login?redirect="+e+"//"+o+"/platformlogin"}),1e3)}}}},s=c,r=(n("eecc"),n("2877")),d=Object(r["a"])(s,t,i,!1,null,null,null);e["default"]=d.exports},eecc:function(o,e,n){"use strict";n("8dd8")}}]);