fix data
This commit is contained in:
parent
74fbe1b7a3
commit
6e28950c76
@ -154,6 +154,7 @@ final class IndexModel {
|
||||
// 指定日期,并更新日期下对应的数据
|
||||
@MainActor
|
||||
func loadDateUpdateDramas(userId: String, date: String) async {
|
||||
self.updateDramaGroups.removeAll()
|
||||
self.showUpdateDramas.removeAll()
|
||||
let response = await API.loadDateUpdateDramas(userId: userId, date: date, as: [UpdateDramaGroup].self)
|
||||
if case let .result(groups) = response {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user