diff --git a/test-track/frontend/src/business/case/TestCase.vue b/test-track/frontend/src/business/case/TestCase.vue
index 82a9ab3547..0f1b1d4c43 100644
--- a/test-track/frontend/src/business/case/TestCase.vue
+++ b/test-track/frontend/src/business/case/TestCase.vue
@@ -177,7 +177,6 @@ import MsTabButton from "metersphere-frontend/src/components/new-ui/MsTabButton"
import TestCaseMinder from "../common/minder/TestCaseMinder";
import IsChangeConfirm from "metersphere-frontend/src/components/IsChangeConfirm";
import {openMinderConfirm} from "../common/minder/minderUtils";
-import TestCaseEditShow from "./components/TestCaseEditShow";
import {PROJECT_ID} from "metersphere-frontend/src/utils/constants";
import MxVersionSelect from "metersphere-frontend/src/components/version/MxVersionSelect";
import {useStore} from "@/store";
@@ -195,7 +194,7 @@ export default {
name: "TestCase",
components: {
PublicTestCaseList, TestCaseTrashNodeTree, TestCasePublicNodeTree, IsChangeConfirm, TestCaseMinder, MsTabButton, TestCaseNodeTree,
- MsMainContainer, MsAsideContainer, MsContainer, TestCaseList, SelectMenu, TestCaseEditShow, 'VersionSelect': MxVersionSelect,
+ MsMainContainer, MsAsideContainer, MsContainer, TestCaseList, SelectMenu, 'VersionSelect': MxVersionSelect,
MsMainButtonGroup, TestCaseCommonImportNew
},
comments: {},
@@ -540,18 +539,6 @@ export default {
changeVersion(currentVersion) {
this.currentVersion = currentVersion || null;
},
- checkoutPublic(testCase, item) {
- Object.assign(item.testCaseInfo, testCase)
- //子组件先变更 copy 状态,再执行初始化操作
- this.$refs.testCaseEditShow[0].initEdit(item.testCaseInfo, () => {
- this.$nextTick(() => {
- let vh = this.$refs.testCaseEditShow[0].$refs.versionHistory;
- vh.getVersionOptionList(vh.handleVersionOptions);
- vh.show = false;
- vh.loading = false;
- });
- });
- },
checkVersionEnable() {
if (!this.projectId) {
return;
diff --git a/test-track/frontend/src/business/case/components/TestCaseEdit.vue b/test-track/frontend/src/business/case/components/TestCaseEdit.vue
index 65db29f2e2..a0bda66e47 100644
--- a/test-track/frontend/src/business/case/components/TestCaseEdit.vue
+++ b/test-track/frontend/src/business/case/components/TestCaseEdit.vue
@@ -359,14 +359,12 @@ import {
parseCustomField,
} from "metersphere-frontend/src/utils/custom_field";
import MsFormDivider from "metersphere-frontend/src/components/MsFormDivider";
-import TestCaseEditOtherInfo from "@/business/case/components/TestCaseEditOtherInfo";
import FormRichTextItem from "@/business/case/components/richtext/FormRichTextItem";
import TestCaseStepItem from "@/business/case/components/TestCaseStepItem";
import StepChangeItem from "@/business/case/components/StepChangeItem";
import MsChangeHistory from "metersphere-frontend/src/components/history/ChangeHistory";
import { getTestTemplate } from "@/api/custom-field-template";
import CustomFiledFormItem from "metersphere-frontend/src/components/form/CustomFiledFormItem";
-import TestCaseVersionDiff from "@/business/case/version/TestCaseVersionDiff";
import VersionCreateOtherInfoSelect from "@/business/case/components/VersionCreateOtherInfoSelect";
import TestCaseBaseInfo from "@/business/case/components/TestCaseBaseInfo";
import MsContainer from "metersphere-frontend/src/components/MsContainer";
@@ -419,7 +417,6 @@ export default {
StepChangeItem,
TestCaseStepItem,
FormRichTextItem,
- TestCaseEditOtherInfo,
MsFormDivider,
CustomFiledComponent,
MsTableButton,
@@ -433,7 +430,6 @@ export default {
TestCaseAttachment,
MsTestCaseStepRichText,
MsChangeHistory,
- TestCaseVersionDiff,
VersionCreateOtherInfoSelect,
TestCaseBaseInfo,
MsContainer,
diff --git a/test-track/frontend/src/business/case/components/TestCaseEditOtherInfo.vue b/test-track/frontend/src/business/case/components/TestCaseEditOtherInfo.vue
index ebb1e92012..a9f3c7fe3a 100644
--- a/test-track/frontend/src/business/case/components/TestCaseEditOtherInfo.vue
+++ b/test-track/frontend/src/business/case/components/TestCaseEditOtherInfo.vue
@@ -122,6 +122,7 @@