fix(测试跟踪): 测试计划接口用例刷新没有清除全选
--bug=1018695 --user=陈建星 【测试跟踪】测试计划批量删除全部用例后再次关联,全选状态没有消除 https://www.tapd.cn/55049933/s/1273139
This commit is contained in:
parent
4917387be1
commit
d2edc5de74
|
@ -468,6 +468,9 @@ export default {
|
|||
this.$refs.table.setCurrentRow(-1);
|
||||
},
|
||||
clear() {
|
||||
// 清除全选
|
||||
this.condition.selectAll = false;
|
||||
this.condition.unSelectIds = [];
|
||||
this.clearSelectRows();
|
||||
},
|
||||
checkTableRowIsSelect() {
|
||||
|
@ -482,10 +485,6 @@ export default {
|
|||
clearSelectRows() {
|
||||
this.selectRows.clear();
|
||||
this.selectIds = [];
|
||||
if (!this.condition.selectAll) {
|
||||
this.condition.selectAll = false;
|
||||
this.condition.unSelectIds = [];
|
||||
}
|
||||
this.selectDataCounts = 0;
|
||||
if (this.$refs.table) {
|
||||
this.$refs.table.clearSelection();
|
||||
|
|
|
@ -417,6 +417,9 @@ export default {
|
|||
this.$emit('isApiListEnableChange', data);
|
||||
},
|
||||
initTable() {
|
||||
if (this.$refs.table) {
|
||||
this.$refs.table.clear();
|
||||
}
|
||||
this.autoCheckStatus();
|
||||
this.condition.status = "";
|
||||
this.condition.moduleIds = this.selectNodeIds;
|
||||
|
|
Loading…
Reference in New Issue