Skip to content

Form属性文档

Form

参数说明类型默认值
form绑定表单值object-
option表单配置项参考Option配置TableOption-
isView是否查看模式booleanfalse
contentStyle内容区域的样式CSSProperties-
menuStyle操作区域样式CSSProperties-

Option

参数说明类型默认值
labelWidth表单项label宽度string90px
formSpan栅格占据的列数number12
menuBtn表单操作栏是否显示booleantrue
submitBtn确定按钮是否显示booleantrue
submitBtnText确定按钮文本string确定
cancelBtn取消按钮是否显示booleantrue
cancelBtnText取消按钮文本string取消
viewTabstabViewTabs[]-
column表单的各项配置FormColumnProps[]-
group表单分组的配置GroupInterface[]-

Column-共用属性

参数说明类型默认值
label表单项的labelstring | VNode-
prop表单项的属性名称string-
type表单项的类型FormItemTypeinput
span表单项的栅列number12
rules表单校验条件
RulesType
-
placeholder辅助文字string-
clearable是否可清除booleanfalse
disabled是否禁用booleanfalse
tip内容提示辅助语string | VNode-
tipPlacement内容提示辅助语位置
enum
right-start
style表单项的样式CSSProperties-