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

Transfer当改变data时,全选不能自动更新 #109

Closed
Javey opened this issue Oct 22, 2018 · 0 comments
Closed

Transfer当改变data时,全选不能自动更新 #109

Javey opened this issue Oct 22, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@Javey
Copy link
Member

Javey commented Oct 22, 2018

Transfer双向绑定了leftChecked,然后更新了data,由于全选的判断逻辑为:leftChecked.length > data.length,并没有判断leftChecked是否匹配data,所以组件会依然呈现全选状态

@Javey Javey added the bug Something isn't working label Oct 22, 2018
@Javey Javey closed this as completed in 9ec90ee Oct 23, 2018
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

1 participant