diff --git a/dimensionhub/Views/IndexView.swift b/dimensionhub/Views/IndexView.swift index 0d17960..98c1181 100644 --- a/dimensionhub/Views/IndexView.swift +++ b/dimensionhub/Views/IndexView.swift @@ -115,6 +115,7 @@ final class IndexModel { // 指定日期,并更新日期下对应的数据 @MainActor func loadDateUpdateDramas(userId: Int, date: String) async { + self.showUpdateDramas.removeAll() let response = await API.loadDateUpdateDramas(userId: userId, date: date, as: [UpdateDramaGroup].self) if case let .result(groups) = response { self.updateDramaGroups = preappendMergeDramaGroups(groups: self.updateDramaGroups, mergeGroups: groups)