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

[Feature Request] 参数refreshDeps可以接受一个数组吗 #231

Open
zogwosh opened this issue Mar 22, 2024 · 2 comments
Open

[Feature Request] 参数refreshDeps可以接受一个数组吗 #231

zogwosh opened this issue Mar 22, 2024 · 2 comments

Comments

@zogwosh
Copy link

zogwosh commented Mar 22, 2024

需求描述 Feature Description

因为watch是支持监听多个响应式状态的,refreshDeps这个字段是watch的语法糖,那么支持数组更符合使用习惯

@John60676
Copy link
Member

支持的

https://www.attojs.com/api/#refreshdeps

@zogwosh
Copy link
Author

zogwosh commented Mar 22, 2024

明白,但是默认没有用deep深度监听,有什么办法能设置深度监听吗,

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