Commit 93c68049 authored by Alex朱枝文's avatar Alex朱枝文

添加一处异步主线程调用来跳页面解决可能的崩溃

parent 0072a013
......@@ -112,7 +112,9 @@ class YHButlerServiceManager: NSObject {
self?.customUIConfig?.customerHeadImageUrl = avatar
self?.customUIConfig?.showServiceNickName = true
self?.updateUserInfo(userId: userId, userData: dataString ?? "", completion: { success in
gotoSessionVC()
DispatchQueue.main.async {
gotoSessionVC()
}
})
}
}
......
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