fix: import type { FormInstance ...} from 'element-plus'

This commit is contained in:
shizhong 2023-06-13 12:26:54 +08:00
parent 3b44b42da8
commit a543ae0a4e
4 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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'

View File

@ -19,7 +19,7 @@
</template>
<script setup lang="ts">
import * as MpTagApi from '@/api/mp/tag'
import { FormInstance, FormRules } from 'element-plus'
import type { FormInstance, FormRules } from 'element-plus'
const { t } = useI18n() //
const message = useMessage() //

View File

@ -98,7 +98,7 @@ import { dateFormatter } from '@/utils/formatTime'
import * as MpUserApi from '@/api/mp/user'
import * as MpTagApi from '@/api/mp/tag'
import WxMpSelect from '@/views/mp/components/WxMpSelect.vue'
import { FormInstance } from 'element-plus'
import type { FormInstance } from 'element-plus'
import UserForm from './UserForm.vue'
const message = useMessage() //