fix: form 表单不支持field.xxx.xx格式的defaultValue配置 (#4965)
* fix: form 表单不支持field.xxx.xx格式的defaultValue配置 * chore: 修复代码规范问题
This commit is contained in:
@@ -291,6 +291,12 @@ const [CustomLayoutForm] = useVbenForm({
|
||||
formItemClass: 'col-start-1',
|
||||
label: '字符串',
|
||||
},
|
||||
{
|
||||
component: 'Input',
|
||||
defaultValue: 'field4.path',
|
||||
fieldName: 'field4.path',
|
||||
label: 'field4.path',
|
||||
},
|
||||
],
|
||||
// 一共三列
|
||||
wrapperClass: 'grid-cols-3',
|
||||
|
Reference in New Issue
Block a user