fix(测试跟踪): 功能用例新建完ID不显示

--bug=1024404 --user=宋昌昌 【测试跟踪】项目未开启测试用例自定义ID-新建用例-保存-ID显示暂无 https://www.tapd.cn/55049933/s/1350108
This commit is contained in:
chenjianxing 2023-03-15 15:29:57 +08:00 committed by jianxing
parent 581e8e0141
commit 454d3d16aa
1 changed files with 1 additions and 4 deletions

View File

@ -678,9 +678,6 @@ export default {
} }
}, },
deep: true, deep: true,
},
$route(to, from) {
this.$router.go(0);
} }
}, },
beforeDestroy() { beforeDestroy() {
@ -1248,7 +1245,7 @@ export default {
} else { } else {
this.isLastedVersion = true; this.isLastedVersion = true;
this.routerToEdit(response.data.id); this.routerToEdit(response.data.id);
this.initEdit(); setTimeout(() => this.initEdit(), 500);
} }
} }
this.createVersionId = null; this.createVersionId = null;