当computed 对象被访问的时候会触发getter,然后会判断是否dirty,如果是就执行runner,然后做依赖收集;当我们直接设置computed 对象时会触发setter,即执行computed 函数 ...
確定! 回上一頁