We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
litemall-wx/pages/auth/login/login.js doLogin: function(userInfo) { user.checkLogin().catch(() => {
catch 应改成 then ?
The text was updated successfully, but these errors were encountered:
或者缺少.then((err) => { //本地有 userInfo 和 token 凭证,则使用本地的凭证 app.globalData.hasLogin = true; wx.navigateBack({ delta: 1 })
Sorry, something went wrong.
No branches or pull requests
litemall-wx/pages/auth/login/login.js
doLogin: function(userInfo) {
user.checkLogin().catch(() => {
catch 应改成 then ?
The text was updated successfully, but these errors were encountered: