refactor: 删除没有用到的组件import

This commit is contained in:
CaptainB 2022-10-20 12:34:06 +08:00
parent 06933114d5
commit b728671136
4 changed files with 97 additions and 112 deletions

View File

@ -29,11 +29,10 @@
</template>
<script>
import MsAsideContainer from "./MsAsideContainer";
export default {
name: "MsAsideItem",
components: {MsAsideContainer},
components: {},
data() {
return {
selectIndex: -1

View File

@ -35,9 +35,6 @@
<script>
import draggable from 'vuedraggable';
import MsContainer from "../../components/MsContainer";
import MsAsideContainer from "../../components/MsAsideContainer";
import MsMainContainer from "../../components/MsMainContainer";
import MsAsideItem from "../../components/MsAsideItem";
import EnvironmentEdit from "../../components/environment/EnvironmentEdit";
import {listenGoBack, removeGoBackListener, getUUID} from "../../utils";
@ -55,9 +52,6 @@ export default {
MsAsideItem,
EnvironmentGlobalScript,
GlobalAssertions,
MsMainContainer,
MsAsideContainer,
MsContainer,
draggable,
MsDialogHeader
},

View File

@ -110,8 +110,6 @@ import TemplateSelect from "./TemplateSelect";
import MsTableButton from "metersphere-frontend/src/components/MsTableButton";
import MsTableOperatorButton from "metersphere-frontend/src/components/MsTableOperatorButton";
import MsDeleteConfirm from "metersphere-frontend/src/components/MsDeleteConfirm";
import MsMainContainer from "metersphere-frontend/src/components/MsMainContainer";
import MsContainer from "metersphere-frontend/src/components/MsContainer";
import MsTableOperator from "metersphere-frontend/src/components/MsTableOperator";
import MsTablePagination from "metersphere-frontend/src/components/pagination/TablePagination";
import MsTableHeader from "metersphere-frontend/src/components/MsTableHeader";
@ -136,8 +134,6 @@ export default {
MsTableButton,
MsTableOperatorButton,
MsDeleteConfirm,
MsMainContainer,
MsContainer,
MsTableOperator,
MsTablePagination,
MsTableHeader,

View File

@ -186,8 +186,6 @@ import {
getCurrentUserId,
getCurrentWorkspaceId
} from "metersphere-frontend/src/utils/token";
import MsContainer from "metersphere-frontend/src/components/MsContainer";
import MsMainContainer from "metersphere-frontend/src/components/MsMainContainer";
import MsDeleteConfirm from "metersphere-frontend/src/components/MsDeleteConfirm";
import MsTableOperatorButton from "metersphere-frontend/src/components/MsTableOperatorButton";
import {GROUP_PROJECT, PROJECT_ID} from "metersphere-frontend/src/utils/constants";
@ -217,10 +215,8 @@ export default {
MsTableButton,
MsTableOperatorButton,
MsDeleteConfirm,
MsMainContainer,
MsRolesTag,
EditProject,
MsContainer,
MsTableOperator,
MsTablePagination,
MsTableHeader,