This commit is contained in:
anlicheng 2025-02-21 00:18:57 +08:00
parent 505bf5f3ff
commit a16a416642
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import Observation
struct DateNavView: View {
@State var navModel = DateNavModel()
let selectGroupId: String
@Binding var selectGroupId: String
@Binding var showDateNavPopover: Bool
var body: some View {

View File

@ -204,7 +204,7 @@ struct IndexView: View {
}
}
.popover(isPresented: $showDateNavPopover) {
DateNavView(selectGroupId: self.selectGroupId, showDateNavPopover: $showDateNavPopover)
DateNavView(selectGroupId: self.$selectGroupId, showDateNavPopover: $showDateNavPopover)
}
}
.task {