在更新時首先觸發的是“資料劫持 set ”,呼叫 dep.notify 通知每一個 watcher 的 update 方法。 update () { if (this.lazy) { dirty置為true ...
確定! 回上一頁