添加 Lottie 全局加载层并修复加载状态卡住问题
This commit is contained in:
@ -117,7 +117,6 @@ final class ProfileViewModel {
|
||||
realNameInfo = nil
|
||||
bankCardInfo = nil
|
||||
}
|
||||
notifyStateChange()
|
||||
}
|
||||
|
||||
func beginEditing() {
|
||||
|
||||
@ -73,7 +73,6 @@ final class StatisticsViewModel {
|
||||
|
||||
do {
|
||||
statistics = try await fetchSummary(range: range, api: api)
|
||||
notifyStateChange()
|
||||
} catch is CancellationError {
|
||||
return
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user