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

Causing page data errors in vue2 table. #36

Open
Little-light1 opened this issue Mar 28, 2024 · 2 comments
Open

Causing page data errors in vue2 table. #36

Little-light1 opened this issue Mar 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Little-light1
Copy link

In Vue2, change the pagination of the table.The highlighted cell data from the previous page has reached the second page.Overwritten the correct data.
Due to the addition of new labels, the Vue2 diff algorithm did not match, resulting in data distortion.

@Little-light1 Little-light1 added the bug Something isn't working label Mar 28, 2024
@Juraj-Masiar
Copy link
Member

Oh, this will be tricky to fix.
Vue is reusing existing DOM elements whenever possible to increase performance.
Similar issues has been spotted also in other frameworks.
So far without any solution.

Can you send me some example page with exact steps to reproduce where I could test it?

@Little-light1
Copy link
Author

Little-light1 commented Mar 29, 2024

I found a website that can be replicated example highlight the word “王小虎”, or the number "1"。all the word in table .Then switch back and forth between pagination

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants