diff --git a/test-track/frontend/src/api/testCase.js b/test-track/frontend/src/api/testCase.js index f4304cbf10..297b9a1b03 100644 --- a/test-track/frontend/src/api/testCase.js +++ b/test-track/frontend/src/api/testCase.js @@ -25,7 +25,7 @@ export function getTestCase(id) { } export function hasTestCaseOtherInfo(id) { - return get(BASE_URL + `test/case/hasOtherInfo/${id}`); + return get(BASE_URL + `hasOtherInfo/${id}`); } export function testCaseGetByVersionId(versionId, id) { diff --git a/test-track/frontend/src/business/case/components/TestCaseEdit.vue b/test-track/frontend/src/business/case/components/TestCaseEdit.vue index 35bef83018..29f4fa3afe 100644 --- a/test-track/frontend/src/business/case/components/TestCaseEdit.vue +++ b/test-track/frontend/src/business/case/components/TestCaseEdit.vue @@ -39,7 +39,7 @@ {{ $t('operating_log.change_history') }} - import("metersphere-frontend/src/components/version/MxVersionHistory") }, data() { return { @@ -1118,7 +1116,7 @@ export default { hasOtherInfo() { return new Promise((resolve) => { if (this.form.id) { - hasTestCaseOtherInfo() + hasTestCaseOtherInfo(this.form.id) .then((res) => { resolve(res.data); }); diff --git a/test-track/frontend/src/business/case/components/TestCaseEditShow.vue b/test-track/frontend/src/business/case/components/TestCaseEditShow.vue index 0768406fb3..f8b860034b 100644 --- a/test-track/frontend/src/business/case/components/TestCaseEditShow.vue +++ b/test-track/frontend/src/business/case/components/TestCaseEditShow.vue @@ -19,7 +19,7 @@ {{ $t('operating_log.change_history') }} - import("metersphere-frontend/src/components/version/MxVersionHistory") }, data() { return {