配置项说明
| 字段名 | 含义 | 类型 | 是否必选 | 备注 |
|---|---|---|---|---|
| name | 显示名 | string | 是 | 无 |
| type | 类型 | string | 是 | 无 |
| default | 默认值 | object | 否 | 不填时默认为0 |
| min | 最小值 | number | 否 | 无 |
| max | 最大值 | number | 否 | 无 |
| components | 模块 | array | 否 | 默认值为[“top”, “right”, “bottom”, “left”] |
值说明
| 条件 | 数据类型 | 示例 | 默认值 |
|---|---|---|---|
| 无 | object | { “top”: 20, “right”: 30, “bottom”: 20, “left”: 30 } |
{ “top”: 0, “right”: 0, “bottom”: 0, “left”: 0 } |
配置示例

"padding": {"name": "内边距","type": "padding","default": {"top": 0,"left": 0,"bottom": 0,"right": 0}}
