ElemeFE / ElemeFE/element

[Bug Report] el-table使用span-method实现多行合并后,第一列的checkbox选中行为不符合预期

Open
#22,199 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.9

### OS/Browsers version
macOS Big Sur@11.4/ chrome@106.0.5249.103

### Vue version
2.6.12

### Reproduction Link
https://codepen.io/siyuan-wen/pen/poVmbOq

### Steps to reproduce
两种不符合预期现象的复现步骤;
1. 依次勾选「非表头列」的checkbox,最终表头的checkbox还是indeterminate状态,预期是全选
2. 选中表头的checkbox,接着依次取消勾选「非表头」的checkbox, 最终表头的checkbox还是indeterminate状态,预期是取消勾选

### What is Expected?
1. 依次勾选「非表头列」的checkbox,最终表头的checkbox还是indeterminate状态,预期是全选
2. 选中表头的checkbox,接着依次取消勾选「非表头」的checkbox, 最终表头的checkbox还是indeterminate状态,预期是取消勾选

### What is actually happening?
1. 依次勾选「非表头列」的checkbox,最终表头的checkbox还是indeterminate状态,预期是全选
2. 选中表头的checkbox,接着依次取消勾选「非表头」的checkbox, 最终表头的checkbox还是indeterminate状态,预期是取消勾选

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.