From ca20cdcbd3b9adcb03a218b7850c9cae83638907 Mon Sep 17 00:00:00 2001 From: jianxing Date: Tue, 15 Aug 2023 14:00:40 +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=E7=BC=96=E8=BE=91=E9=A1=B5=EF=BC=8C=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E7=89=88=E6=9C=AC=E7=BD=AE=E6=96=B0=EF=BC=8C=E4=B8=80?= =?UTF-8?q?=E7=9B=B4=E5=A4=84=E4=BA=8E=E5=88=B7=E6=96=B0=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1028213 --user=陈建星 【测试跟踪】版本管理存在多个版本-创建功能用例-新建版本用例-置新 https://www.tapd.cn/55049933/s/1403647 --- .../frontend/src/business/case/components/TestCaseEdit.vue | 6 +++++- 1 file changed, 5 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 d10a94ffc6..7aeb231824 100644 --- a/test-track/frontend/src/business/case/components/TestCaseEdit.vue +++ b/test-track/frontend/src/business/case/components/TestCaseEdit.vue @@ -1619,7 +1619,11 @@ export default { }; setLatestVersionById(param).then(() => { this.$success(this.$t("commons.modify_success")); - this.checkoutByVersionId(version.id); + if (version.id !== this.form.versionId) { + this.checkoutByVersionId(version.id); + } else { + this.$refs.versionHistory.getVersionOptionList(); + } }).catch(() => { this.$refs.versionHistory.loading = false; });