执行value = this.getter.call(vm, vm),这个getter函数没有返回值啊?
来源:4-7 派发更新(上)

前端沙雕
2021-11-08
this.getter = () => { vm._update(vm._render(), hydrating) }; 但是这个函数没有返回值啊,我打印value一直是undefined
写回答
1回答
-
前端沙雕
提问者
2021-11-08
老师,可以忽略,这里是渲染watcher,没有返回值的
00
相似问题