fix(测试跟踪): 功能用例列表全选问题
--bug=1023477 --user=宋昌昌 【测试跟踪】功能用例,全选后取消,再次全选,复选框没有被选中 https://www.tapd.cn/55049933/s/1340006
This commit is contained in:
parent
6a7a0199a4
commit
53698ab996
|
@ -373,7 +373,11 @@ export default {
|
|||
}
|
||||
},
|
||||
handleSelectAll(selection) {
|
||||
if (this.condition.selectAll) {
|
||||
if (this.condition.selectAll && selection && selection.length > 0) {
|
||||
this.isSelectDataAll(true)
|
||||
return;
|
||||
} else if (this.condition.selectAll && selection && selection.length === 0){
|
||||
this.$emit("clearTableSelect");
|
||||
return;
|
||||
}
|
||||
_handleSelectAll(this, selection, this.data, this.selectRows, this.condition);
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
@filter="search"
|
||||
@callBackSelect="callBackSelect"
|
||||
@callBackSelectAll="callBackSelectAll"
|
||||
@clearTableSelect="clearTableSelect"
|
||||
ref="table">
|
||||
|
||||
<ms-table-column
|
||||
|
|
Loading…
Reference in New Issue