From b0b47ea175c376be73378a93523be031d8386578 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Tue, 21 Mar 2023 11:01:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E6=96=B0=E5=A2=9EID=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E7=AB=8B=E5=8D=B3=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1024404 --user=宋昌昌 【测试跟踪】项目未开启测试用例自定义ID-新建用例-保存-ID显示暂无 https://www.tapd.cn/55049933/s/1353426 --- .../frontend/src/business/case/components/TestCaseEdit.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test-track/frontend/src/business/case/components/TestCaseEdit.vue b/test-track/frontend/src/business/case/components/TestCaseEdit.vue index 65589ca64f..2cdf8d475d 100644 --- a/test-track/frontend/src/business/case/components/TestCaseEdit.vue +++ b/test-track/frontend/src/business/case/components/TestCaseEdit.vue @@ -1212,6 +1212,7 @@ export default { if (this.editableState) { // 如果是编辑态保存用例, 则直接reload页面 this.editableState = false; + this.$refs.otherInfo.caseActiveName = 'detail'; } response = response.data; // 保存用例后刷新附件 @@ -1246,7 +1247,8 @@ export default { } else { this.isLastedVersion = true; this.routerToEdit(response.data.id); - setTimeout(() => this.initEdit(), 500); + this.form.num = response.data.num; + this.form.customNum = response.data.customNum; } } this.createVersionId = null;