Skip to content

Input 输入框

基本使用

API

参数描述类型默认值是否必填
model-value / v-model绑定值string | number
inputType类型'text' | 'password' | 'textarea'
showPassword是否显示切换密码图标boolean
clearable是否可清空booleanfalse
placeholder文本占位string请输入
maxlength最大长度string36
suffixIcon自定义后缀图标string | Component