来源:https://stackoverflow.com/questions/63378919/how-to-increment-a-state-in-a-foreach-loop-in-swiftui 标签 swift foreach swiftui state increment