配置项说明
| 字段名 | 含义 | 类型 | 是否必选 | 备注 |
|---|---|---|---|---|
| name | 显示名 | string | 是 | 无 |
| type | 类型 | string | 是 | 无 |
| default | 默认值 | string | 否 | 无 |
| options | 配置项 | array | 否 | name:显示名称 value:值 src:显示的图片 |
| optionsHandler | 动态选项 | string | 否 | 此处填写方法名称,方法返回值必须符合options类型 |
值说明
| 条件 | 数据类型 | 示例 | 默认值 |
|---|---|---|---|
| 无 | string | “thingjs” | “” |
配置示例

"total": {"name": "图片","type": "imageSelect","options": [{"name": "thingjs1","value": "thingjs1","src": "https://www.thingjs.com/guide/image/new/logo-w.png"},{"name": "thingjs2","value": "thingjs2","src": "https://www.thingjs.com/guide/image/new/logo-w.png"},{"name": "thingjs3","value": "thingjs3","src": "https://www.thingjs.com/guide/image/new/logo-w.png"},{"name": "thingjs4","value": "thingjs4","src": "https://www.thingjs.com/guide/image/new/logo-w.png"}],"default": "thingjs1"}
