Commit de7c1bec authored by Alex朱枝文's avatar Alex朱枝文

修复切换账号时上报数据没清空bug

parent 270a9456
...@@ -257,10 +257,11 @@ extension YHButlerServiceManager { ...@@ -257,10 +257,11 @@ extension YHButlerServiceManager {
} }
@objc private func loginSuccess() { @objc private func loginSuccess() {
reportHandler.reset()
guard isUatAllowed() else { guard isUatAllowed() else {
return return
} }
reportHandler.reset()
initSDKAccountAndLastMessage { _ in initSDKAccountAndLastMessage { _ in
// 为了更新状态 // 为了更新状态
DispatchQueue.main.async { DispatchQueue.main.async {
......
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