(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-17e66bfc"],{2915:function(t,e,n){},"9ed6":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this;t._self._c;return t._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"loginBox"},[e("iframe",{attrs:{src:"//edu.cocorobo.cn/course/login?type=2",frameborder:"0"}})])}],c=n("c7eb"),o=n("1da1"),u=n("5530"),s=(n("14d9"),n("2f62")),a={data:function(){return{redirect:void 0,timer:null}},watch:{$route:{handler:function(t){this.redirect=t.query&&t.query.redirect},immediate:!0}},methods:Object(u["a"])(Object(u["a"])({},Object(s["b"])({login:"user/login"})),{},{handleLogin:function(){this.$router.push({path:this.redirect||"/"})},getLogin:function(){var t=this;return Object(o["a"])(Object(c["a"])().mark((function e(){var n;return Object(c["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.login();case 2:n=e.sent,n&&t.$router.push({path:t.redirect||"/"});case 4:case"end":return e.stop()}}),e)})))()}}),beforeDestroy:function(){clearInterval(this.timer),this.timer=null},mounted:function(){var t=this;this.getLogin(),this.timer=setInterval((function(){t.getLogin()}),2e3)}},f=a,h=(n("9ff3"),n("2877")),l=Object(h["a"])(f,r,i,!1,null,"02bea5b8",null);e["default"]=l.exports},"9ff3":function(t,e,n){"use strict";n("2915")}}]);