Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【BUG】watch() 传入reactive类型的数据,vue3.4与3.3表现不一致 #992

Open
Oumae-Kumiko opened this issue Feb 29, 2024 · 1 comment

Comments

@Oumae-Kumiko
Copy link

3.2、3.3版本的watch() 传入reactive类型监听源,即使deep设置为false,源码上会默认设置为true,修改深层属性会触发监听回调。
但在3.2升到3.4版本时,代码不变,deep依旧是false,此时修改reactive里深层的属性,不会触发监听!

@dews
Copy link

dews commented Mar 18, 2024

This repo is for vue2. I think you go to the wrong place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants