@hzab/form-render-mobile 0.5.1 → 0.5.3
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/CHANGELOG.md +8 -0
- package/README.md +16 -15
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/components/FormItem/index.less +185 -23
- package/src/components/FormItem/index.tsx +214 -104
- package/src/components/index.ts +3 -2
- package/src/index.less +3 -0
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -43,21 +43,22 @@ export default () => {
|
|
|
43
43
|
### InfoPanel Attributes
|
|
44
44
|
|
|
45
45
|
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|
|
46
|
-
| ------------- | --------------------- | ---- | ------ | ----------------------------- |
|
|
47
|
-
| schema | Object | 是 | - | 数据信息的 schema |
|
|
48
|
-
| className | string | 否 | - | 元素类名 |
|
|
49
|
-
|
|
|
50
|
-
|
|
|
51
|
-
|
|
|
52
|
-
|
|
|
53
|
-
|
|
|
54
|
-
|
|
|
55
|
-
|
|
|
56
|
-
|
|
|
57
|
-
|
|
|
58
|
-
|
|
|
59
|
-
|
|
|
60
|
-
|
|
|
46
|
+
| ------------- | --------------------- | ---- | ------ | ----------------------------- |
|
|
47
|
+
| schema | Object | 是 | - | 数据信息的 schema |
|
|
48
|
+
| className | string | 否 | - | 元素类名 |
|
|
49
|
+
| colon | string/false | 否 | : | 设置 label 后面的符号 |
|
|
50
|
+
| initialValues | Object | 否 | - | 表单初始值 |
|
|
51
|
+
| schemaScope | Object | 否 | - | formily scope 自定义数据 |
|
|
52
|
+
| components | SchemaReactComponents | 否 | - | formily 自定义组件 |
|
|
53
|
+
| readOnly | boolean | 否 | - | 是否只读 |
|
|
54
|
+
| disabled | boolean | 否 | - | 是否禁用 |
|
|
55
|
+
| formOptions | Object | 否 | - | createForm 配置项 |
|
|
56
|
+
| hasSubmit | boolean | 否 | - | 是否有提交按钮 |
|
|
57
|
+
| onSubmit | Function | 否 | - | 提交事件 (values): void |
|
|
58
|
+
| init | Function | 否 | - | 组件初始化 (form): void |
|
|
59
|
+
| axios | Object | 否 | - | axios |
|
|
60
|
+
| axiosConf | Object | 否 | - | axios config |
|
|
61
|
+
| footerRender | Function | 否 | - | 底部渲染插槽 (): ReactElement |
|
|
61
62
|
|
|
62
63
|
# 组件开发流程
|
|
63
64
|
|