| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{523:function(e,n,t){"use strict";t.r(n);t(36),t(30);var r=t(3),c={mounted:function(){this.checkLogin()},methods:{checkLogin:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return console.log(e),n.next=3,e.$post("/api/admin/index/check_login");case 3:n.sent.status?e.$router.replace("/main"):e.$router.replace("/login");case 5:case"end":return n.stop()}}),n)})))()}}},o=t(2),component=Object(o.a)(c,(function(){var e=this.$createElement;return(this._self._c||e)("div",{attrs:{id:"nav"}},[this._v("\n 检查登录状态中……\n")])}),[],!1,null,null,null);n.default=component.exports}}]);
|