diff --git a/src/types/auto-imports.d.ts b/src/types/auto-imports.d.ts index cfda3e66..75cf16d9 100644 --- a/src/types/auto-imports.d.ts +++ b/src/types/auto-imports.d.ts @@ -62,6 +62,8 @@ declare global { const useRouter: typeof import('vue-router')['useRouter'] const useSlots: typeof import('vue')['useSlots'] const useTable: typeof import('@/hooks/web/useTable')['useTable'] + const useVxeCrudSchemas: typeof import('@/hooks/web/useVxeCrudSchemas')['useVxeCrudSchemas'] + const useXTable: typeof import('@/hooks/web/useXTable')['useXTable'] const watch: typeof import('vue')['watch'] const watchEffect: typeof import('vue')['watchEffect'] const watchPostEffect: typeof import('vue')['watchPostEffect'] diff --git a/src/views/mp/autoReply/index.vue b/src/views/mp/autoReply/index.vue index 94fe34b3..4c8eb388 100644 --- a/src/views/mp/autoReply/index.vue +++ b/src/views/mp/autoReply/index.vue @@ -188,7 +188,7 @@ import * as MpAutoReplyApi from '@/api/mp/autoReply' import { DICT_TYPE, getDictOptions } from '@/utils/dict' import { dateFormatter } from '@/utils/formatTime' import { ContentWrap } from '@/components/ContentWrap' -import { TabPaneName } from 'element-plus' +import type { TabPaneName } from 'element-plus' const message = useMessage() diff --git a/src/views/mp/draft/index.vue b/src/views/mp/draft/index.vue index 5df7687a..844d01b2 100644 --- a/src/views/mp/draft/index.vue +++ b/src/views/mp/draft/index.vue @@ -249,7 +249,7 @@ import WxMpSelect from '@/views/mp/components/WxMpSelect.vue' import { getAccessToken } from '@/utils/auth' import * as MpDraftApi from '@/api/mp/draft' import * as MpFreePublishApi from '@/api/mp/freePublish' -import { UploadFiles, UploadProps, UploadRawFile } from 'element-plus' +import type { UploadFiles, UploadProps, UploadRawFile } from 'element-plus' // 可以用改本地数据模拟,避免API调用超限 // import drafts from './mock' diff --git a/src/views/mp/tag/TagForm.vue b/src/views/mp/tag/TagForm.vue index 81f19988..73b29baa 100644 --- a/src/views/mp/tag/TagForm.vue +++ b/src/views/mp/tag/TagForm.vue @@ -19,7 +19,7 @@