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

2.7.5版本toggleRowSelection方法无效,2.7.4版本有效,麻烦关注下这个问题呢 #98

Open
mmclofe opened this issue Oct 9, 2020 · 6 comments

Comments

@mmclofe
Copy link

mmclofe commented Oct 9, 2020

No description provided.

@parlay96
Copy link
Owner

首先是pl-table不在更新维护,其次toggleRowSelection方式无效肯定是你的表格配置了row-key,且开启了大数据渲染的属性!

@mmclofe
Copy link
Author

mmclofe commented Oct 13, 2020

我把row-key干掉了还是有问题呢,toggleRowSelection方法还是无效呢

@parlay96
Copy link
Owner

加群 给链接 写demo

@mmclofe
Copy link
Author

mmclofe commented Oct 13, 2020

我把use-virtual改成false了,即不开启了大数据渲染的属性,但是出现了另外一个问题,列表禁用勾选的行被反绑勾选上了,且点全选时,禁用勾选的选项也被勾选上了,我们用你的pl-table组件还是挺多地方的,现在遇到这个问题,我们也挺棘手的,还请麻烦您能不能迭代一个版本修复下呀

@parlay96
Copy link
Owner

升级umyui对你来说改动不会很多 无非就是吧pl-table 改成u-table
请关注umyui 转过去很简单!请去看umyui文档

@ccs2048588564
Copy link

this.$refs[tableRef].toggleRowSelection([
{ row: obj, selected: true }
])

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

No branches or pull requests

3 participants