From 8e03c57bf49366d96489e2b87a77fa582831625b Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 18 Jan 2023 12:34:52 +0800 Subject: [PATCH] perf: auto import vue element-plus --- yudao-ui-admin-vue3/src/App.vue | 2 -- .../ConfigGlobal/src/ConfigGlobal.vue | 3 --- .../src/ContentDetailWrap.vue | 3 --- .../src/components/CountTo/src/CountTo.vue | 2 +- .../src/components/Crontab/src/Crontab.vue | 17 ++---------- .../components/Cropper/src/CopperModal.vue | 4 --- .../src/components/Cropper/src/Cropper.vue | 12 +-------- .../components/Cropper/src/CropperAvatar.vue | 1 - .../Descriptions/src/Descriptions.vue | 3 +-- .../src/components/Dialog/src/Dialog.vue | 2 -- .../src/components/Echart/src/Echart.vue | 2 +- .../src/components/Editor/src/Editor.vue | 3 +-- .../src/components/IFrame/src/IFrame.vue | 1 - .../src/components/Icon/src/Icon.vue | 2 -- .../ImageViewer/src/ImageViewer.vue | 3 +-- .../src/components/Infotip/src/Infotip.vue | 1 - .../InputPassword/src/InputPassword.vue | 2 -- .../src/components/Search/src/Search.vue | 4 +-- .../src/components/Sticky/src/Sticky.vue | 2 -- .../components/UploadFile/src/UploadFile.vue | 3 +-- .../components/UploadFile/src/UploadImg.vue | 21 +++------------ .../Verifition/src/Verify/VerifySlide.vue | 10 ------- .../src/components/XButton/src/XButton.vue | 2 +- .../components/XButton/src/XTextButton.vue | 1 - .../src/components/XModal/src/XModal.vue | 1 - .../src/components/XTable/src/XTable.vue | 2 +- .../src/hooks/event/useScrollTo.ts | 2 -- .../src/hooks/web/useConfigGlobal.ts | 1 - yudao-ui-admin-vue3/src/hooks/web/useEmitt.ts | 1 - yudao-ui-admin-vue3/src/hooks/web/useForm.ts | 1 - .../src/hooks/web/useNProgress.ts | 2 -- .../src/hooks/web/useTimeAgo.ts | 1 - .../src/hooks/web/useVxeCrudSchemas.ts | 1 - .../src/hooks/web/useXTable.ts | 1 - .../src/layout/components/AppView.vue | 1 - .../components/Collapse/src/Collapse.vue | 1 - .../ContextMenu/src/ContextMenu.vue | 4 +-- .../layout/components/Footer/src/Footer.vue | 1 - .../LocaleDropdown/src/LocaleDropdown.vue | 2 -- .../src/layout/components/Menu/src/Menu.vue | 3 +-- .../src/layout/components/Menu/src/helper.ts | 1 - .../layout/components/Message/src/Message.vue | 3 --- .../layout/components/Setting/src/Setting.vue | 3 +-- .../src/components/ColorRadioPicker.vue | 2 +- .../src/components/InterfaceDisplay.vue | 2 -- .../src/components/LayoutRadioPicker.vue | 1 - .../SizeDropdown/src/SizeDropdown.vue | 2 -- .../layout/components/TabMenu/src/TabMenu.vue | 2 -- .../layout/components/TabMenu/src/helper.ts | 1 - .../components/TagsView/src/TagsView.vue | 3 --- .../ThemeSwitch/src/ThemeSwitch.vue | 2 -- .../components/UserInfo/src/UserInfo.vue | 3 +-- .../src/plugins/vxeTable/index.ts | 2 +- .../src/types/auto-components.d.ts | 27 +++++++++++++++++++ yudao-ui-admin-vue3/src/utils/index.ts | 2 -- .../views/Profile/components/BasicInfo.vue | 3 +-- .../views/bpm/processInstance/process.data.ts | 1 - .../src/views/infra/codegen/EditTable.vue | 1 - 58 files changed, 50 insertions(+), 142 deletions(-) diff --git a/yudao-ui-admin-vue3/src/App.vue b/yudao-ui-admin-vue3/src/App.vue index 476c0c5de..a7867a1c8 100644 --- a/yudao-ui-admin-vue3/src/App.vue +++ b/yudao-ui-admin-vue3/src/App.vue @@ -1,9 +1,7 @@