watch 和computed 的區別是: · computed 只有當依賴的資料變化時才會計算, 會快取資料。 · watch 每次都需要執行函式。watch 更適用於資料變化時的非同步 ...
確定! 回上一頁