寫法就是View1 用@State,View2 用@Binding 。 不過我們在NavigationLink中使用要使用以下做法: NavigationLink( destination: t2(c1: $c1), label: ...
確定! 回上一頁