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

fix: 调整重构 setters 组件下几处 watch 初始值引发无法监听问题 #178

Merged
merged 1 commit into from
May 28, 2024

Conversation

alwayrun
Copy link
Contributor

No description provided.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的watch监听同理,建议使用getter函数返回监听props属性,而不需要对props单独做一个计算属性取监听

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已调整

@alwayrun alwayrun force-pushed the hotfix/fix_watch_props_issue branch from d5e1b19 to 7cbd57a Compare May 28, 2024 08:06
@alwayrun alwayrun force-pushed the hotfix/fix_watch_props_issue branch from 7cbd57a to 1040780 Compare May 28, 2024 08:08
@sudoooooo sudoooooo merged commit 66b7248 into didi:develop May 28, 2024
1 check passed
@alwayrun alwayrun deleted the hotfix/fix_watch_props_issue branch May 29, 2024 03:50
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

Successfully merging this pull request may close these issues.

3 participants