fix(测试跟踪): 用例新增ID没有立即显示问题
--bug=1024404 --user=宋昌昌 【测试跟踪】项目未开启测试用例自定义ID-新建用例-保存-ID显示暂无 https://www.tapd.cn/55049933/s/1353426
This commit is contained in:
parent
5a5abcf605
commit
b0b47ea175
|
@ -1212,6 +1212,7 @@ export default {
|
||||||
if (this.editableState) {
|
if (this.editableState) {
|
||||||
// 如果是编辑态保存用例, 则直接reload页面
|
// 如果是编辑态保存用例, 则直接reload页面
|
||||||
this.editableState = false;
|
this.editableState = false;
|
||||||
|
this.$refs.otherInfo.caseActiveName = 'detail';
|
||||||
}
|
}
|
||||||
response = response.data;
|
response = response.data;
|
||||||
// 保存用例后刷新附件
|
// 保存用例后刷新附件
|
||||||
|
@ -1246,7 +1247,8 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.isLastedVersion = true;
|
this.isLastedVersion = true;
|
||||||
this.routerToEdit(response.data.id);
|
this.routerToEdit(response.data.id);
|
||||||
setTimeout(() => this.initEdit(), 500);
|
this.form.num = response.data.num;
|
||||||
|
this.form.customNum = response.data.customNum;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.createVersionId = null;
|
this.createVersionId = null;
|
||||||
|
|
Loading…
Reference in New Issue