fix(测试跟踪): 功能用例列表删除版本失败
--bug=1018791 --user=陈建星 [测试跟踪]功能用例-列表中删除当前版本失败 https://www.tapd.cn/55049933/s/1276628
This commit is contained in:
parent
21d1c1e57b
commit
221a0c0049
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue