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 Report] vant组件使用插槽以后内部的组件属性watch会有异常问题 #12869

Open
TodoSomeThingM opened this issue May 14, 2024 · 0 comments

Comments

@TodoSomeThingM
Copy link

重现链接

https://stackblitz.com/edit/vitejs-vite-qxdxj8?file=src%2FApp.vue

Vant 版本

4.9.0

描述一下你遇到的问题。

以这个例子说明:Comp组件传了一个空对象参数,组件中的test变量只要变化,就会触发Comp组件里的watch事件,所以关联这个问题,或许还有其他表现形式.

重现步骤

  1. 在输入框中随便输入什么
  2. 打开控制台,发现watch事件会一直被调用

设备/浏览器

Macos,chrome124

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

No branches or pull requests

1 participant