fix(测试跟踪): 编辑缺陷会关联上条编辑的缺陷所关联的用例
--bug=1013978 --user=陈建星 【测试跟踪】github#14662 缺陷管理里面连续多条缺陷关联用例,关联的用例会重复 https://www.tapd.cn/55049933/s/1179786
This commit is contained in:
parent
1f5c547263
commit
dd6d7c770a
|
@ -289,6 +289,9 @@ export default {
|
|||
this.result.loading = true;
|
||||
this.type = type;
|
||||
this.richTextDefaultOpen = this.type === 'edit' ? 'preview' : 'edit';
|
||||
if (this.$refs.testCaseIssueList) {
|
||||
this.$refs.testCaseIssueList.clear();
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
getIssuePartTemplateWithProject((template, project) => {
|
||||
this.currentProject = project;
|
||||
|
|
|
@ -91,6 +91,10 @@ export default {
|
|||
this.tableData.splice(index, 1);
|
||||
this.deleteIds.add(item.id);
|
||||
},
|
||||
clear() {
|
||||
this.addIds.clear();
|
||||
this.deleteIds.clear();
|
||||
},
|
||||
initTableData() {
|
||||
this.tableData = [];
|
||||
let condition = {
|
||||
|
|
Loading…
Reference in New Issue