diff --git a/src/components/Modal/src/hooks/useModal.ts b/src/components/Modal/src/hooks/useModal.ts index 0c1c776..0b737d6 100644 --- a/src/components/Modal/src/hooks/useModal.ts +++ b/src/components/Modal/src/hooks/useModal.ts @@ -1,4 +1,4 @@ -import { ref, onUnmounted, unref, getCurrentInstance, watch, nextTick } from 'vue'; +import { ref, unref, getCurrentInstance, watch } from 'vue'; import { isProdMode } from '@/utils/env'; import { ModalMethods, UseModalReturnType } from '../type'; import { getDynamicProps } from '@/utils'; diff --git a/src/components/Table/src/components/editable/EditableCell.vue b/src/components/Table/src/components/editable/EditableCell.vue index ea1b894..e8fdd8e 100644 --- a/src/components/Table/src/components/editable/EditableCell.vue +++ b/src/components/Table/src/components/editable/EditableCell.vue @@ -51,7 +51,6 @@ import { EventEnum } from '@/components/Table/src/componentMap'; import { parseISO, format } from 'date-fns'; - import { Fn, LabelValueOptions } from '/#/index'; export default defineComponent({ name: 'EditableCell', diff --git a/src/layout/components/TagsView/components.ts b/src/layout/components/TagsView/components.ts deleted file mode 100644 index 345c963..0000000 --- a/src/layout/components/TagsView/components.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { - DownOutlined, - ReloadOutlined, - CloseOutlined, - VerticalRightOutlined, - VerticalLeftOutlined, - ColumnWidthOutlined, - MinusOutlined, -} from '@ant-design/icons-vue'; -import { Dropdown, Tabs, Card } from 'ant-design-vue'; - -export default { - [Tabs.name]: Tabs, - [Tabs.TabPane.name]: Tabs.TabPane, - [Dropdown.name]: Dropdown, - [Card.name]: Card, - MinusOutlined, - DownOutlined, - ReloadOutlined, - CloseOutlined, - VerticalRightOutlined, - VerticalLeftOutlined, - ColumnWidthOutlined, -}; diff --git a/src/store/modules/tabsView.ts b/src/store/modules/tabsView.ts index ae2cb92..cb80f74 100644 --- a/src/store/modules/tabsView.ts +++ b/src/store/modules/tabsView.ts @@ -1,6 +1,5 @@ import { defineStore } from 'pinia'; import { RouteLocationNormalized } from 'vue-router'; -import { TABS_ROUTES } from '../mutation-types'; // 不需要出现在标签页中的路由 const whiteList = ['Redirect', 'login'];