|
@@ -1586,7 +1586,7 @@ export const formComponents = [
|
|
|
name: '表格',
|
|
|
icon: 'l-biaoge',
|
|
|
data: {
|
|
|
- name: 'table2',
|
|
|
+ name: 'table3',
|
|
|
width: 0,
|
|
|
height: 0,
|
|
|
disableAnchor: true,
|
|
@@ -3366,6 +3366,35 @@ context.meta2d.translate(
|
|
|
disableOffColor: '#E5E5E5',
|
|
|
disableOnColor: '#A3D3FF',
|
|
|
hoverBackground: '#40a9ff',
|
|
|
+ props: {
|
|
|
+ custom: [
|
|
|
+ {
|
|
|
+ key: 'onColor',
|
|
|
+ label: '开颜色',
|
|
|
+ type: 'color',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: 'offColor',
|
|
|
+ label: '关颜色',
|
|
|
+ type: 'color',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: 'disable',
|
|
|
+ label: '是否禁用',
|
|
|
+ type: 'bool',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: 'disableOnColor',
|
|
|
+ label: '开(禁)颜色',
|
|
|
+ type: 'color',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: 'disableOffColor',
|
|
|
+ label: '关(禁)颜色',
|
|
|
+ type: 'color',
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ }
|
|
|
},
|
|
|
},
|
|
|
{
|