Closed Oumae-Kumiko closed 6 months ago
3.2、3.3版本的watch() 传入reactive类型监听源,即使deep设置为false,源码上会默认设置为true,修改深层属性会触发监听回调。 但在3.2升到3.4版本时,代码不变,deep依旧是false,此时修改reactive里深层的属性,不会触发监听!
This repo is for vue2. I think you go to the wrong place.
Stale issue message
3.2、3.3版本的watch() 传入reactive类型监听源,即使deep设置为false,源码上会默认设置为true,修改深层属性会触发监听回调。 但在3.2升到3.4版本时,代码不变,deep依旧是false,此时修改reactive里深层的属性,不会触发监听!