Skip to content

vxe-table checkbox 全选状态有误 #2875

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

Open
2 tasks done
OVYVO opened this issue Apr 18, 2025 · 2 comments
Open
2 tasks done

vxe-table checkbox 全选状态有误 #2875

OVYVO opened this issue Apr 18, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@OVYVO
Copy link

OVYVO commented Apr 18, 2025

可复现的链接(必须为公开链接,仅包含能复现问题的示例代码):

https://github.com/x-extends/vxe-table/issues

是否已准备好复现链接与示例代码?

  • 我确定已准备好以上复现链接

问题描述与截图:

Image

Image

如上图所示checked状态根据列表字段绑定,初始化时vxe-table能够根据字段绑定勾选状态,但是有些场景不希望初始勾选状态变更,设置了checkMethod配置过滤出初始勾选数据。再次触发勾选事件时 checkAll状态似乎没有过滤掉禁用勾选项,导致计算是否全部勾选的状态不正确

期望的结果:

checkAll状态应该过滤掉禁止勾选数据,再做判断

操作系统:

MacOS

浏览器版本:

135.0.7049.86

vue 版本:

3.5.12

vxe-pc-ui 版本:

4.5.25

vxe-table 版本:

4.13.5

是否使用当前最新版本?

  • 我确定已经更新到最新版本后依然存在该问题
@OVYVO OVYVO added the bug Something isn't working label Apr 18, 2025
@liujunmm
Copy link

4.13.10,一样的问题

@OVYVO
Copy link
Author

OVYVO commented Apr 25, 2025

4.13.10,一样的问题

不知道有没有修复计划及什么时候修复,目前换了交互方案,这个坑算是绕过去了😄

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