diff --git a/web/src/api/common.ts b/web/src/api/common.ts index e16d9298..8a3986a9 100644 --- a/web/src/api/common.ts +++ b/web/src/api/common.ts @@ -3,10 +3,10 @@ import { isAdminApp, checkFileMimetype } from '/@/utils/common' import { getUrl } from '/@/utils/axios' import { useAdminInfo } from '/@/stores/adminInfo' import { useUserInfo } from '/@/stores/userInfo' -import { ElNotification, UploadRawFile } from 'element-plus' +import { ElNotification, type UploadRawFile } from 'element-plus' import { useSiteConfig } from '/@/stores/siteConfig' import { state as uploadExpandState, fileUpload as uploadExpand } from '/@/components/mixins/baUpload' -import { AxiosRequestConfig } from 'axios' +import type { AxiosRequestConfig } from 'axios' import { uuid } from '/@/utils/random' import { i18n } from '../lang' diff --git a/web/src/components/baInput/components/baUpload.vue b/web/src/components/baInput/components/baUpload.vue index d077e693..764569ef 100644 --- a/web/src/components/baInput/components/baUpload.vue +++ b/web/src/components/baInput/components/baUpload.vue @@ -48,14 +48,15 @@