* zin: set default emptyValue to picker.

This commit is contained in:
sunhao
2023-07-11 21:19:36 +08:00
parent 940d0e1c5a
commit 4d98d3bbef
+2 -1
View File
@@ -35,7 +35,8 @@ class picker extends wg
'afterRender?: function', // 渲染完成后的回调函数。
'beforeDestroy?: function', // 销毁前的回调函数。
'name?: string', // 作为表单项的名称。
'value?: string|string[]', // 默认值。
'value?: string|string[]', // 默认值。
'emptyValue?: string=",0"', // 默认值。
'onChange?: function', // 值变更回调函数。
'disabled?: boolean', // 是否禁用。
'multiple?: boolean|number=false', // 是否允许选择多个值,如果指定为数字,则限制多选的数目,默认 `false`。