From 13f1ea0ec6c74d6bb8ccd0d8ca60990752fa90db Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Mon, 24 Feb 2025 22:51:25 +0800 Subject: [PATCH] fix --- dimensionhub/Views/IndexView.swift | 1 + 1 file changed, 1 insertion(+) 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)