@ant-design/pro-components 2.6.52 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.json +5 -5
- package/dist/pro-components.min.js +1 -1
- package/es/version.js +10 -10
- package/lib/version.js +10 -10
- package/package.json +10 -10
package/dist/api.json
CHANGED
|
@@ -1315,7 +1315,7 @@
|
|
|
1315
1315
|
{
|
|
1316
1316
|
"参数": "onFinish",
|
|
1317
1317
|
"说明": "提交表单且数据验证成功后回调事件,同 antd 4 `Form` 组件 API",
|
|
1318
|
-
"类型": "`(values)=>Promise<void
|
|
1318
|
+
"类型": "`(values)=>Promise<void> | void`",
|
|
1319
1319
|
"默认值": "-"
|
|
1320
1320
|
},
|
|
1321
1321
|
{
|
|
@@ -1346,13 +1346,13 @@
|
|
|
1346
1346
|
"参数": "dateFormatter",
|
|
1347
1347
|
"说明": "自动格式化数据,主要是 moment 的表单,支持 string 和 number 两种模式,此外还支持指定函数进行格式化。",
|
|
1348
1348
|
"类型": "`string| number | ((value: Moment, valueType: string) => string | number) | false`",
|
|
1349
|
-
"默认值": "string"
|
|
1349
|
+
"默认值": "`string`"
|
|
1350
1350
|
},
|
|
1351
1351
|
{
|
|
1352
1352
|
"参数": "omitNil",
|
|
1353
1353
|
"说明": "ProForm 会自动清空 null 和 undefined 的数数据,如果你约定了 nil 代表某种数据,可以设置为 false 关闭此功能",
|
|
1354
1354
|
"类型": "`boolean`",
|
|
1355
|
-
"默认值": "true"
|
|
1355
|
+
"默认值": "`true`"
|
|
1356
1356
|
},
|
|
1357
1357
|
{
|
|
1358
1358
|
"参数": "params",
|
|
@@ -1382,10 +1382,10 @@
|
|
|
1382
1382
|
"参数": "autoFocusFirstInput",
|
|
1383
1383
|
"说明": "自动 focus 表单第一个输入框",
|
|
1384
1384
|
"类型": "`boolean`",
|
|
1385
|
-
"默认值": "
|
|
1385
|
+
"默认值": "`true`"
|
|
1386
1386
|
},
|
|
1387
1387
|
{
|
|
1388
|
-
"参数": "
|
|
1388
|
+
"参数": "grid",
|
|
1389
1389
|
"说明": "开启栅格化模式,宽度默认百分比,请使用 `colProps` 控制宽度 [查看示例](/components/form#栅格化布局)",
|
|
1390
1390
|
"类型": "`boolean`",
|
|
1391
1391
|
"默认值": "-"
|