Commit 3ac6efec authored by beisir's avatar beisir

feat:分享--登录校验

parent 2c104d69
......@@ -27,10 +27,7 @@ export default {
},
checkLogin() {
const vccToken = localStorage.get('vccToken');
alert(vccToken);
const needLogin = vccToken ? false : true;
// alert(vccToken);
// alert(needLogin);
if (needLogin) {
if (isApp) this.nativeBridge = new Bridge();
else if (isWxMp) this.nativeBridge = new MpBridge();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment