来源:https://stackoverflow.com/questions/61430999/swiftui-out-of-index-when-deleting-an-array-element-in-foreach 标签 swift swiftui