fix(测试跟踪): 用例新增ID没有立即显示问题

--bug=1024404 --user=宋昌昌 【测试跟踪】项目未开启测试用例自定义ID-新建用例-保存-ID显示暂无 https://www.tapd.cn/55049933/s/1353426
This commit is contained in:
song-cc-rock 2023-03-21 11:01:05 +08:00 committed by fit2-zhao
parent 5a5abcf605
commit b0b47ea175
1 changed files with 3 additions and 1 deletions

View File

@ -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;