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

checkMethod返回false时,setCheckboxRowKey、setCheckboxRow等函数调用时,checkMethod函数无效 #2788

Open
2 tasks done
WJjack opened this issue Feb 21, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@WJjack
Copy link

WJjack commented Feb 21, 2025

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

https://jsrun.net/ZqnKp/edit

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

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

问题描述与截图:

Image

期望的结果:

setCheckboxRowKey、setCheckboxRow等函数调用时,应该根据checkMethod函数返回的条件来确定是否应该选中

操作系统:

window10

浏览器版本:

版本 133.0.6943.126(正式版本) (64 位)

vue 版本:

"vue": "3.3.13",

vxe-pc-ui 版本:

vxe-table 版本:

"vxe-table": "4.10.15"

是否使用当前最新版本?

  • 我确定已经更新到最新版本后依然存在该问题
@WJjack WJjack added the bug Something isn't working label Feb 21, 2025
@xlz26296
Copy link
Contributor

xlz26296 commented Feb 21, 2025

checkMethod 是用来限制用户操作的,不限制手动调用方法的,手动调方法的优先级是最高的

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