How to update view when value inside Enum changes with SwiftUI?

前端 未结 0 1247
迷失自我
迷失自我 2021-01-31 01:07

Here is my code. Run the MainView struct, and click on the button which should update the word first to the word hello. It does not update at

相关标签:
回答
  • 消灭零回复
提交回复
热议问题