Skip to content

Textarea 文本域 ​

cl-textarea 组件基于 uni-app 的 textarea 组件

参数 ​

参数说明类型可选值默认值
modelValue / v-model绑定值string / number
count是否显示统计boolean
border是否带有边框booleantrue
height高number140
auto-height高boolean

示例 ​

基本用法 ​

html
<cl-textarea />

统计字数 ​

html
<cl-textarea count />