fix(wechat): 协议页切后台暂停超时计时并全量映射技术文案
This commit is contained in:
@@ -2,6 +2,7 @@ const auth = require('./utils/auth')
|
||||
const authApi = require('./api/auth')
|
||||
const { BRAND_CONFIG } = require('./utils/config')
|
||||
const profileCache = require('./utils/profile-cache')
|
||||
const { toUserMessage } = require('./utils/toast')
|
||||
|
||||
App({
|
||||
globalData: {
|
||||
@@ -79,7 +80,7 @@ App({
|
||||
this.globalData.userInfo = null
|
||||
this.publishWechatLoginState({
|
||||
status: 'ERROR',
|
||||
message: error.message || '自动登录失败,请点击重试'
|
||||
message: toUserMessage(error, '自动登录失败,请点击重试')
|
||||
})
|
||||
this.goLogin()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user