預設情況下 computed 是不能寫入值,可以透過 getter 和 setter 來把值寫回 data ,查看範例。 當 fullName 裡面的資料被更新時,才會觸發 fullName 的 getter ,順序為 ...
確定! 回上一頁