diff --git a/yudao-ui-admin-vue3/build/vite/index.ts b/yudao-ui-admin-vue3/build/vite/index.ts index 10687978e..34ffc9b1c 100644 --- a/yudao-ui-admin-vue3/build/vite/index.ts +++ b/yudao-ui-admin-vue3/build/vite/index.ts @@ -32,7 +32,7 @@ export function createVitePlugins(VITE_APP_TITLE: string) { PurgeIcons(), vueSetupExtend(), AutoImport({ - imports: ['vue', 'vue-router', '@vueuse/core'], + imports: ['vue', 'vue-router'], dts: 'src/types/auto-imports.d.ts', resolvers: [ElementPlusResolver()], eslintrc: { diff --git a/yudao-ui-admin-vue3/src/components/ConfigGlobal/src/ConfigGlobal.vue b/yudao-ui-admin-vue3/src/components/ConfigGlobal/src/ConfigGlobal.vue index 103259ef6..10a0a9f2f 100644 --- a/yudao-ui-admin-vue3/src/components/ConfigGlobal/src/ConfigGlobal.vue +++ b/yudao-ui-admin-vue3/src/components/ConfigGlobal/src/ConfigGlobal.vue @@ -5,6 +5,7 @@ import { useAppStore } from '@/store/modules/app' import { setCssVar } from '@/utils' import { useDesign } from '@/hooks/web/useDesign' import { ElementPlusSize } from '@/types/elementPlus' +import { useWindowSize } from '@vueuse/core' const { variables } = useDesign() diff --git a/yudao-ui-admin-vue3/src/components/Cropper/src/Cropper.vue b/yudao-ui-admin-vue3/src/components/Cropper/src/Cropper.vue index 822f0712d..459c97fac 100644 --- a/yudao-ui-admin-vue3/src/components/Cropper/src/Cropper.vue +++ b/yudao-ui-admin-vue3/src/components/Cropper/src/Cropper.vue @@ -16,6 +16,7 @@ import Cropper from 'cropperjs' import 'cropperjs/dist/cropper.css' import { useDesign } from '@/hooks/web/useDesign' import { propTypes } from '@/utils/propTypes' +import { useDebounceFn } from '@vueuse/core' type Options = Cropper.Options diff --git a/yudao-ui-admin-vue3/src/components/Sticky/src/Sticky.vue b/yudao-ui-admin-vue3/src/components/Sticky/src/Sticky.vue index c07452a40..5d6680592 100644 --- a/yudao-ui-admin-vue3/src/components/Sticky/src/Sticky.vue +++ b/yudao-ui-admin-vue3/src/components/Sticky/src/Sticky.vue @@ -1,5 +1,6 @@