添加 Lottie 全局加载层并修复加载状态卡住问题

This commit is contained in:
2026-07-06 17:43:13 +08:00
parent d79d3003e3
commit 71ab38af8d
14 changed files with 281 additions and 75 deletions

View File

@ -122,8 +122,9 @@ final class HomeViewController: BaseViewController {
private func initializeHome() async {
showLoading()
defer { hideLoading() }
await viewModel.initialize(api: homeAPI)
hideLoading()
applyViewModel()
await evaluateDialogsWithDelay()
await viewModel.refreshLocationInfo()