使用 v-model:value 绑定值,可设置 placeholder,type 的值有 text | textarea,默认值是 text,disabled 可禁用输入框,设置 clearable 字段可拥有清除功能。
v-model:value
placeholder
type
text | textarea
text
disabled
clearable
使用 slot 的方式插入前缀(prepend)和后缀(append)。
slot
prepend
append