修复小程序令牌过期登录循环
This commit is contained in:
@@ -113,7 +113,7 @@ App({
|
||||
this.globalData.reviewNoticeShown = false
|
||||
this.globalData.openEmployeeReview = false
|
||||
}
|
||||
auth.setSession(session)
|
||||
auth.setSession(session, newLoginSession)
|
||||
this.bootstrapSession()
|
||||
},
|
||||
|
||||
@@ -121,6 +121,7 @@ App({
|
||||
auth.clearSession()
|
||||
profileCache.invalidate()
|
||||
this.globalData.userInfo = null
|
||||
this.globalData.wechatLoginState = null
|
||||
this.globalData.reviewNoticeShown = false
|
||||
this.globalData.openEmployeeReview = false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user