diff --git a/frontend/src/business/components/api/head/ApiHeaderMenus.vue b/frontend/src/business/components/api/head/ApiHeaderMenus.vue index 79e40d6714..febf0990f0 100644 --- a/frontend/src/business/components/api/head/ApiHeaderMenus.vue +++ b/frontend/src/business/components/api/head/ApiHeaderMenus.vue @@ -31,13 +31,12 @@ import MsRecentList from "../../common/head/RecentList"; import MsShowAll from "../../common/head/ShowAll"; import MsCreateButton from "../../common/head/CreateButton"; -import SearchList from "@/business/components/common/head/SearchList"; import ProjectChange from "@/business/components/common/head/ProjectSwitch"; import {mapGetters} from "vuex"; export default { name: "MsApiHeaderMenus", - components: {SearchList, MsCreateButton, MsShowAll, MsRecentList, ProjectChange}, + components: {MsCreateButton, MsShowAll, MsRecentList, ProjectChange}, data() { return { currentPath: '', diff --git a/frontend/src/business/components/common/head/ProjectSwitch.vue b/frontend/src/business/components/common/head/ProjectSwitch.vue index 0fa2b5c66e..427d57ba01 100644 --- a/frontend/src/business/components/common/head/ProjectSwitch.vue +++ b/frontend/src/business/components/common/head/ProjectSwitch.vue @@ -9,7 +9,9 @@ - +
+ +
{{ $t("project.create") }} diff --git a/frontend/src/business/components/performance/head/PerformanceHeaderMenus.vue b/frontend/src/business/components/performance/head/PerformanceHeaderMenus.vue index 1a75acc8e1..145e87625e 100644 --- a/frontend/src/business/components/performance/head/PerformanceHeaderMenus.vue +++ b/frontend/src/business/components/performance/head/PerformanceHeaderMenus.vue @@ -25,14 +25,12 @@ import MsRecentList from "../../common/head/RecentList"; import MsCreateButton from "../../common/head/CreateButton"; import MsShowAll from "../../common/head/ShowAll"; -import SearchList from "@/business/components/common/head/SearchList"; import ProjectChange from "@/business/components/common/head/ProjectSwitch"; export default { name: "PerformanceHeaderMenus", components: { ProjectChange, - SearchList, MsCreateButton, MsShowAll, MsRecentList, diff --git a/frontend/src/business/components/project/head/ProjectHeaderMenus.vue b/frontend/src/business/components/project/head/ProjectHeaderMenus.vue index d0d8e813b4..c59230feb6 100644 --- a/frontend/src/business/components/project/head/ProjectHeaderMenus.vue +++ b/frontend/src/business/components/project/head/ProjectHeaderMenus.vue @@ -47,12 +47,11 @@ import MsShowAll from "@/business/components/common/head/ShowAll"; import MsRecentList from "@/business/components/common/head/RecentList"; import MsCreateButton from "@/business/components/common/head/CreateButton"; -import SearchList from "@/business/components/common/head/SearchList"; import ProjectChange from "@/business/components/common/head/ProjectSwitch"; export default { name: "ProjectHeaderMenus", - components: {ProjectChange, SearchList, MsShowAll, MsRecentList, MsCreateButton}, + components: {ProjectChange, MsShowAll, MsRecentList, MsCreateButton}, data() { return { currentProject: '', diff --git a/frontend/src/business/components/project/menu/EnvironmentList.vue b/frontend/src/business/components/project/menu/EnvironmentList.vue index 1060cd1824..a2a9cdb1e7 100644 --- a/frontend/src/business/components/project/menu/EnvironmentList.vue +++ b/frontend/src/business/components/project/menu/EnvironmentList.vue @@ -111,7 +111,6 @@ import EnvironmentEdit from "@/business/components/api/test/components/environme import MsAsideItem from "@/business/components/common/components/MsAsideItem"; import MsAsideContainer from "@/business/components/common/components/MsAsideContainer"; import ProjectSwitch from "@/business/components/common/head/ProjectSwitch"; -import SearchList from "@/business/components/common/head/SearchList"; import {downloadFile, getCurrentProjectID} from "@/common/js/utils"; import EnvironmentImport from "@/business/components/project/menu/EnvironmentImport"; import MsMainContainer from "@/business/components/common/components/MsMainContainer"; @@ -123,7 +122,6 @@ export default { MsContainer, MsMainContainer, EnvironmentImport, - SearchList, ProjectSwitch, MsAsideContainer, MsAsideItem, diff --git a/frontend/src/business/components/settings/workspace/environment/EnvironmentGroupList.vue b/frontend/src/business/components/settings/workspace/environment/EnvironmentGroupList.vue index a91c8fdd36..301794a490 100644 --- a/frontend/src/business/components/settings/workspace/environment/EnvironmentGroupList.vue +++ b/frontend/src/business/components/settings/workspace/environment/EnvironmentGroupList.vue @@ -73,7 +73,6 @@ import EnvironmentEdit from "@/business/components/api/test/components/environme import MsAsideItem from "@/business/components/common/components/MsAsideItem"; import MsAsideContainer from "@/business/components/common/components/MsAsideContainer"; import ProjectSwitch from "@/business/components/common/head/ProjectSwitch"; -import SearchList from "@/business/components/common/head/SearchList"; import EnvironmentImport from "@/business/components/project/menu/EnvironmentImport"; import EnvironmentGroupRow from "@/business/components/settings/workspace/environment/EnvironmentGroupRow"; import EditEnvironmentGroup from "@/business/components/settings/workspace/environment/EditEnvironmentGroup"; @@ -84,7 +83,6 @@ export default { components: { EditEnvironmentGroup, EnvironmentImport, - SearchList, ProjectSwitch, MsAsideContainer, MsAsideItem, diff --git a/frontend/src/business/components/settings/workspace/environment/EnvironmentList.vue b/frontend/src/business/components/settings/workspace/environment/EnvironmentList.vue index 6ad11cf546..d874c93c47 100644 --- a/frontend/src/business/components/settings/workspace/environment/EnvironmentList.vue +++ b/frontend/src/business/components/settings/workspace/environment/EnvironmentList.vue @@ -121,7 +121,6 @@ import EnvironmentEdit from "@/business/components/api/test/components/environme import MsAsideItem from "@/business/components/common/components/MsAsideItem"; import MsAsideContainer from "@/business/components/common/components/MsAsideContainer"; import ProjectSwitch from "@/business/components/common/head/ProjectSwitch"; -import SearchList from "@/business/components/common/head/SearchList"; import {downloadFile, strMapToObj} from "@/common/js/utils"; import EnvironmentImport from "@/business/components/project/menu/EnvironmentImport"; import ShowMoreBtn from "@/business/components/track/case/components/ShowMoreBtn"; @@ -133,7 +132,6 @@ export default { components: { EnvGroupCascader, EnvironmentImport, - SearchList, ProjectSwitch, MsAsideContainer, MsAsideItem, diff --git a/frontend/src/business/components/track/head/TrackHeaderMenus.vue b/frontend/src/business/components/track/head/TrackHeaderMenus.vue index 0d24e643bc..f4874a943c 100644 --- a/frontend/src/business/components/track/head/TrackHeaderMenus.vue +++ b/frontend/src/business/components/track/head/TrackHeaderMenus.vue @@ -41,13 +41,12 @@ import MsShowAll from "../../common/head/ShowAll"; import MsRecentList from "../../common/head/RecentList"; import MsCreateButton from "../../common/head/CreateButton"; -import SearchList from "@/business/components/common/head/SearchList"; import ProjectChange from "@/business/components/common/head/ProjectSwitch"; import {getCurrentProjectID} from "@/common/js/utils"; export default { name: "TrackHeaderMenus", - components: {ProjectChange, SearchList, MsShowAll, MsRecentList, MsCreateButton}, + components: {ProjectChange, MsShowAll, MsRecentList, MsCreateButton}, data() { return { testPlanViewPath: '',