We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
希望页面对 Set 及 Map 遍历时如果添加或删除了元素,页面能实时更新dom节点。
The text was updated successfully, but these errors were encountered:
虽然 $forceUpdate 可以强制更新,但是仅限于 Set 或 Map 来自同一个 Component。如果Set 或 Map 来自 props 或 store,还是没有合适的时机在组件内执行 $forceUpdate,除非 boardcast 一个事件或者额外通过目标组件的引用去调用一个更新的方法,但这也太麻烦了,后期会很难维护。
Sorry, something went wrong.
Duplicate of #6774
No branches or pull requests
What problem does this feature solve?
希望页面对 Set 及 Map 遍历时如果添加或删除了元素,页面能实时更新dom节点。
What does the proposed API look like?
希望页面对 Set 及 Map 遍历时如果添加或删除了元素,页面能实时更新dom节点。
The text was updated successfully, but these errors were encountered: