| | |
| | | }, { |
| | | value: 'radio', |
| | | text: '勾选框' |
| | | }, { |
| | | value: 'counter', |
| | | text: '计数器' |
| | | }, |
| | | ...formTypes] |
| | | }, |
| | |
| | | { |
| | | type: 'radio', |
| | | key: 'size', |
| | | label: '开关尺寸', |
| | | label: '尺寸', |
| | | initVal: card.size || 'default', |
| | | options: [{ |
| | | value: 'large', |
| | |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'number', |
| | | key: 'min', |
| | | label: '最小值', |
| | | initVal: card.min, |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'number', |
| | | key: 'max', |
| | | label: '最大值', |
| | | initVal: card.max, |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'number', |
| | | key: 'decimal', |
| | | label: '小数位', |
| | | initVal: card.decimal || 0, |
| | | required: true |
| | | }, |
| | | { |
| | | type: 'text', |
| | | key: 'closeVal', |
| | | label: '关闭值', |