8ed5d1b6 by 华明祺

no message

1 parent 8fda6e2c
Showing 1 changed file with 14 additions and 2 deletions
......@@ -24,12 +24,24 @@
}
})
.catch(() => {
showLogin()
showLogin(() => {
this.globalData.isLogin = true;
let firstLoadCallback = getApp().firstLoadCallback;
if (firstLoadCallback) {
firstLoadCallback();
}
})
})
} else {
this.globalData.isLogin = false;
showLogin()
showLogin(() => {
this.globalData.isLogin = true;
let firstLoadCallback = getApp().firstLoadCallback;
if (firstLoadCallback) {
firstLoadCallback();
}
})
}
},
onShow: function() {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!