Commit 002da32d authored by David黄金龙's avatar David黄金龙

处理 H5 token刷新的问题

parent 13c5b75d
......@@ -382,6 +382,13 @@ extension YHH5WebViewVC {
guard let self = self else { return }
self.reloadWebViewWithToken()
}
} else if tag.contains("2") {
//H5 监测token失效 重新登录
YHLoginManager.shared.loginSuccessActionBlock = {[weak self] in
YHLoginManager.shared.loginSuccessActionBlock = nil
guard let self = self else { return }
self.reloadWebViewWithToken()
}
}
YHOneKeyLoginManager.shared.oneKeyLogin()
} else {
......
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