How to assign the @State value to another viewModel published property

前端 未结 0 779
抹茶落季
抹茶落季 2021-01-31 00:37

How to assign the @State value secondMarked from one view to a @Published sampleViewModel property? like sampleViewModel.secondMarked

Here is

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