beelink/dist/js/chunk-5299baae.c58b30b8.js
2020-12-15 14:41:43 +08:00

2 lines
1.1 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5299baae"],{"79a2":function(e,t,c){},"79a3":function(e,t,c){"use strict";c("79a2")},ff71:function(e,t,c){"use strict";c.r(t);var n=c("7a23"),a=Object(n["withScopeId"])("data-v-5cbafd15"),i=a((function(e,t,c,a,i,o){return Object(n["openBlock"])(),Object(n["createBlock"])("div")})),o=c("79f6"),r=c("89df"),d=c("afbc"),s=c("0613"),b=c("48b8"),f=c("f64c"),u=c("6c02"),p=Object(n["defineComponent"])({setup:function(){var e=Object(u["d"])().query.code;e?Object(o["a"])(e,1).then((function(e){Object(o["e"])(e.openid,1).then((function(e){if(1==e.redirect)sessionStorage.setItem("mid",e.memberid),d["a"].push("/sign");else{if(!Object(b["e"])("token",e.api_token)&&!Object(b["e"])("memberid",e.memberid))return f["a"].error("存储错误, 请允许网页使用本地存储!"),!1;Object(r["g"])(),s["a"].commit("login",!0),s["a"].dispatch("setUserInfo"),d["a"].push("/mine/archives")}}))})):d["a"].push("/")}});c("79a3");p.render=i,p.__scopeId="data-v-5cbafd15";t["default"]=p}}]);
//# sourceMappingURL=chunk-5299baae.c58b30b8.js.map