File tree 2 files changed +5
-1
lines changed
packages/docs/docs/zh/guide
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -771,7 +771,7 @@ schema = {
771
771
// 默认值
772
772
formProps = {
773
773
layoutColumn: 1 , // 1 2 3 ,支持 1 2 3 列布局,如果使用inline表单这里配置无效
774
- inline: false , // 行内表单模式
774
+ inline: false , // 行内表单模式,建议:开启时labelPosition不要配置top, antd不要配置labelCol wrapperCol
775
775
inlineFooter: false , // 如果想要保存按钮和表单元素一行显示,需要配置 true
776
776
labelSuffix: ' :' , // label后缀
777
777
labelPosition: ' top' , // 表单域标签的位置
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ const customRule = ({
32
32
};
33
33
```
34
34
35
+ :::warning 各版本差异
36
+ * vue3 antd不包含callback参数,请使用Promise形式,如 ` return Promise.reject('错误信息') `
37
+ :::
38
+
35
39
详细参数解释如下:
36
40
> * ` field ` : 当前节点的 ` field ` 路径,和 ` formData ` 数据结构对应, 通过 ` . ` 连接,如: ` imgList.0.imgUrl ` ,
37
41
> 实在不清楚可以通过 ` Vue DevTools ` 查看对应组件的 ` curNodePath ` 参数
You can’t perform that action at this time.
0 commit comments