How to activate / deactivate menu items in SwiftUI

后端 未结 0 364
刺人心
刺人心 2021-01-18 09:52

I am trying to create custom menu items in SwiftUI app for mac os (SwiftUI App life cycle). I don\'t quite understand the following behaviour:

In the code below:

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