From 221a0c00499cfeba786abfab8d8ba58313227d59 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 25 Oct 2022 16:17:50 +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=E5=88=97=E8=A1=A8=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E7=89=88=E6=9C=AC=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1018791 --user=陈建星 [测试跟踪]功能用例-列表中删除当前版本失败 https://www.tapd.cn/55049933/s/1276628 --- .../frontend/src/business/case/components/TestCaseList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-track/frontend/src/business/case/components/TestCaseList.vue b/test-track/frontend/src/business/case/components/TestCaseList.vue index c00e251064..c8de2d2cd8 100644 --- a/test-track/frontend/src/business/case/components/TestCaseList.vue +++ b/test-track/frontend/src/business/case/components/TestCaseList.vue @@ -240,7 +240,7 @@ import BatchMove from "@/business/case/components/BatchMove"; import {SYSTEM_FIELD_NAME_MAP} from "metersphere-frontend/src/utils/table-constants"; import TestCasePreview from "@/business/case/components/TestCasePreview"; import { - deletePublicTestCaseVersion, + deleteTestCaseVersion, editTestCaseOrder, getTestCase, getTestCaseStep, @@ -1025,7 +1025,7 @@ export default { _handleDeleteVersion(testCase, deleteCurrentVersion) { // 删除指定版本 if (deleteCurrentVersion) { - deletePublicTestCaseVersion(testCase.versionId, testCase.refId) + deleteTestCaseVersion(testCase.versionId, testCase.refId) .then(() => { this.$success(this.$t('commons.delete_success')); this.$refs.apiDeleteConfirm.close();