element [Bug Report] el-table组件设置type="selection",当列表为空时,表头上的复选框虽然展示为禁用状态但还是可以选择

inb24sb2  于 3个月前  发布在  其他
关注(0)|答案(4)|浏览(64)

Element UI version

2.12.0

OS/Browsers version

MacOS/Chrome

Vue version

2.5.17

https://jsfiddle.net/gjyp57o8/3/

Steps to reproduce

一个空的列表,勾选表头复选框

What is Expected?

不可以选择

What is actually happening?

可以选择

sr4lhrrt

sr4lhrrt2#

+1. I also met the problem.

mznpcxlj

mznpcxlj3#

I created a pull request to fix the problem ( #19381 ).

pzfprimi

pzfprimi4#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题