fix(测试跟踪): 测试计划关联功能用例,修改每页显示数量,多次关联会重复关联用例
--bug=1032462 --user=陈建星 【测试跟踪】github#27277,高级搜索后再添加关联用例,发现有重复 https://www.tapd.cn/55049933/s/1435602
This commit is contained in:
parent
9dcbaae2b5
commit
bcaced6e6e
|
@ -44,11 +44,11 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
handleSizeChange: function (size) {
|
handleSizeChange: function (size) {
|
||||||
this.$emit('update:pageSize', size)
|
this.$emit('update:pageSize', size)
|
||||||
this.change();
|
this.change('size');
|
||||||
},
|
},
|
||||||
handleCurrentChange(current) {
|
handleCurrentChange(current) {
|
||||||
this.$emit('update:currentPage', current)
|
this.$emit('update:currentPage', current)
|
||||||
this.change();
|
this.change('current');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -285,8 +285,8 @@ export default {
|
||||||
this.getTableData();
|
this.getTableData();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
pageChange() {
|
pageChange(type) {
|
||||||
this.getTestCases("page")
|
this.getTestCases(type === 'current' ? "page" : null)
|
||||||
},
|
},
|
||||||
saveCaseRelevance(item) {
|
saveCaseRelevance(item) {
|
||||||
this.isSaving = true;
|
this.isSaving = true;
|
||||||
|
|
Loading…
Reference in New Issue