refactor: ♻️ 修复InputType导入时未指定为type的问题

This commit is contained in:
Moonofweisheng 2024-09-23 16:00:51 +08:00
parent c7c00d6304
commit c445bd197b
2 changed files with 3 additions and 3 deletions

View File

@ -1,14 +1,14 @@
/*
* @Author: weisheng
* @Date: 2024-04-08 22:34:01
* @LastEditTime: 2024-09-21 15:51:27
* @LastEditTime: 2024-09-23 15:59:04
* @LastEditors: weisheng
* @Description:
* @FilePath: \wot-design-uni\src\uni_modules\wot-design-uni\components\wd-message-box\types.ts
*
*/
import { baseProps } from '../common/props'
import { InputType } from '../wd-input/types'
import { type InputType } from '../wd-input/types'
export type MessageType = 'alert' | 'confirm' | 'prompt'

View File

@ -64,7 +64,7 @@ import {
import { defaultOptions, messageDefaultOptionKey } from '.'
import { isDef, isFunction } from '../common/util'
import { useTranslate } from '../composables/useTranslate'
import { InputType } from '../wd-input/types'
import { type InputType } from '../wd-input/types'
const props = defineProps(messageBoxProps)