From a543ae0a4ebc4a7ae43bca9a77d33957827499cd Mon Sep 17 00:00:00 2001 From: shizhong <124974919@qq.com> Date: Tue, 13 Jun 2023 12:26:54 +0800 Subject: [PATCH] fix: import type { FormInstance ...} from 'element-plus' --- src/views/mp/autoReply/index.vue | 2 +- src/views/mp/draft/index.vue | 2 +- src/views/mp/tag/TagForm.vue | 2 +- src/views/mp/user/index.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 @@