File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/uni_modules/wot-design-uni/components/wd-textarea Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ const value = ref<string>('')
129129| placeholderStyle | 原生属性,指定 placeholder 的样式 | string | - | - | - |
130130| placeholderClass | 原生属性,指定 placeholder 的样式类 | string | - | - | - |
131131| disabled | 原生属性,禁用 | boolean | - | false | - |
132- | maxlength | 原生属性,最大输入长度,设置为 -1 的时候不限制最大长度 | string | - | - | - |
132+ | maxlength | 原生属性,最大输入长度,设置为 -1 的时候不限制最大长度 | number | - | - | - |
133133| auto-focus | 原生属性,自动聚焦,拉起键盘。 | boolean | - | false | - |
134134| focus | 原生属性,获取焦点 | boolean | - | false | - |
135135| auto-height | 原生属性,是否自动增高,设置 auto-height 时,style.height 不生效 | boolean | - | false | - |
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export const textareaProps = {
6060
6161 /**
6262 * * 最大输入长度,设置为-1表示不限制最大长度。
63- * 类型:string
63+ * 类型:number
6464 * 默认值:-1
6565 */
6666 maxlength : makeNumberProp ( - 1 ) ,
You can’t perform that action at this time.
0 commit comments