From a0660000703be59e86044b30d6f2fc9ce9fa32cf Mon Sep 17 00:00:00 2001 From: jianxing Date: Wed, 26 Jul 2023 14:23:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E7=BC=96=E8=BE=91=E9=A1=B5?= =?UTF-8?q?=EF=BC=8C=E7=BD=AE=E6=96=B0=E6=8C=89=E9=92=AE=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1028150 --user=陈建星 【测试跟踪】功能用例没有设为最新版按钮了 https://www.tapd.cn/55049933/s/1397770 --- .../src/business/case/components/TestCaseEdit.vue | 3 +-- .../case/components/common/CaseVersionHistory.vue | 12 +++--------- .../case/components/common/MsDrawerComponent.vue | 2 +- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/test-track/frontend/src/business/case/components/TestCaseEdit.vue b/test-track/frontend/src/business/case/components/TestCaseEdit.vue index 12f7bae2d3..d10a94ffc6 100644 --- a/test-track/frontend/src/business/case/components/TestCaseEdit.vue +++ b/test-track/frontend/src/business/case/components/TestCaseEdit.vue @@ -29,7 +29,6 @@ v-show="versionEnable" ref="versionHistory" :current-id="currentTestCaseInfo.id" - :is-read="versionReadOnly" :is-public-show="isPublicShow" :current-version-id="form.versionId" @confirmOtherInfo="confirmOtherInfo" @@ -1554,7 +1553,7 @@ export default { checkoutByVersionId(versionId) { getTestCaseByVersionId(this.form.refId, versionId) .then((response) => { - this.routerToEdit(response.data.id); + this.freshTestCase(response.data.id); }); }, checkout(testCase) { diff --git a/test-track/frontend/src/business/case/components/common/CaseVersionHistory.vue b/test-track/frontend/src/business/case/components/common/CaseVersionHistory.vue index fd894b1a48..5bedb75afb 100644 --- a/test-track/frontend/src/business/case/components/common/CaseVersionHistory.vue +++ b/test-track/frontend/src/business/case/components/common/CaseVersionHistory.vue @@ -14,9 +14,8 @@ width="392" trigger="click" popper-class="version-popover" - v-loading="loading" > -
+
{{ $t("project.version.name") }}
@@ -47,7 +46,7 @@
{{ $t("case.set_new") }}
@@ -82,7 +81,7 @@
- +