perf: auto import vue element-plus

This commit is contained in:
xingyu
2023-01-18 12:34:52 +08:00
parent 85c4d1fb03
commit 8e03c57bf4
58 changed files with 50 additions and 142 deletions

View File

@@ -1,10 +1,10 @@
<script setup lang="ts">
import { ElDropdown, ElDropdownMenu, ElDropdownItem } from 'element-plus'
import { PropType, ref } from 'vue'
import { PropType } from 'vue'
import { useI18n } from '@/hooks/web/useI18n'
import { useDesign } from '@/hooks/web/useDesign'
import type { RouteLocationNormalizedLoaded } from 'vue-router'
import { contextMenuSchema } from '@/types/contextMenu'
import type { ElDropdown } from 'element-plus'
const { getPrefixCls } = useDesign()