|
@@ -13,9 +13,9 @@ const props = withDefaults(
|
|
>
|
|
>
|
|
style?: StrAnyObj
|
|
style?: StrAnyObj
|
|
placeholder: string
|
|
placeholder: string
|
|
- clearable: boolean
|
|
|
|
- disabled: boolean
|
|
|
|
- readonly: boolean
|
|
|
|
|
|
+ clearable?: boolean
|
|
|
|
+ disabled?: boolean
|
|
|
|
+ readonly?: boolean
|
|
type?: 'text' | 'textarea' | 'password'
|
|
type?: 'text' | 'textarea' | 'password'
|
|
maxlength?: number
|
|
maxlength?: number
|
|
minlength?: number
|
|
minlength?: number
|
|
@@ -26,7 +26,11 @@ const props = withDefaults(
|
|
resize?: 'none' | 'both' | 'horizontal' | 'vertical'
|
|
resize?: 'none' | 'both' | 'horizontal' | 'vertical'
|
|
change?: (value: any) => void
|
|
change?: (value: any) => void
|
|
}>(),
|
|
}>(),
|
|
- {}
|
|
|
|
|
|
+ {
|
|
|
|
+ clearable: true,
|
|
|
|
+ disabled: false,
|
|
|
|
+ readonly: false
|
|
|
|
+ }
|
|
)
|
|
)
|
|
|
|
|
|
const emits = defineEmits(['update:modelValue'])
|
|
const emits = defineEmits(['update:modelValue'])
|