因為會與畫面產生連動, 所以宣告方式必須要在前面加上@State這個關鍵字. ForEach , Int, Text> count (1) ! ... #5 @State 和@Binding 的使用用法.
確定! 回上一頁