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

Update index.js #430

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update index.js #430

wants to merge 1 commit into from

Conversation

cy-biggray
Copy link

现在生成的虚拟列表没有key值,每次滑动时,vue都需要更新。

What kind of this PR? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Build-related changes
  • Other, please describe:

Other information:

现在生成的虚拟列表没有key值,每次滑动时,vue都需要更新。
@cy-biggray
Copy link
Author

由于没有key值,每次滑动时,oldChildList和childList都需要重新patch。特别影响性能

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.

1 participant