|
@@ -2401,6 +2401,7 @@ context.meta2d.translate(
|
|
selectedKeys: ['1'],
|
|
selectedKeys: ['1'],
|
|
// activeColor: '#4E85E5',
|
|
// activeColor: '#4E85E5',
|
|
iconPosition: 'left',
|
|
iconPosition: 'left',
|
|
|
|
+ renderSubMenu:true,
|
|
data: [
|
|
data: [
|
|
{
|
|
{
|
|
key: '1',
|
|
key: '1',
|
|
@@ -2633,9 +2634,8 @@ context.meta2d.translate(
|
|
width: 500,
|
|
width: 500,
|
|
height: 50,
|
|
height: 50,
|
|
direction: 'horizontal',
|
|
direction: 'horizontal',
|
|
- selectKey: '1',
|
|
|
|
- selectedKeys: [],
|
|
|
|
- theme: '',
|
|
|
|
|
|
+ selectedKey: '1',
|
|
|
|
+ // selectedKeys: [],
|
|
disableInput: true,
|
|
disableInput: true,
|
|
data: [
|
|
data: [
|
|
{ text: '场景一', key: '0', isForbidden: true },
|
|
{ text: '场景一', key: '0', isForbidden: true },
|
|
@@ -2650,6 +2650,49 @@ context.meta2d.translate(
|
|
label: '数据',
|
|
label: '数据',
|
|
type: 'code',
|
|
type: 'code',
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ key: 'direction',
|
|
|
|
+ label: '方向',
|
|
|
|
+ type: 'select',
|
|
|
|
+ options: [
|
|
|
|
+ { label: '水平', value: 'horizontal' },
|
|
|
|
+ { label: '垂直', value: 'vertical' },
|
|
|
|
+ ],
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'gap',
|
|
|
|
+ label: '间隔',
|
|
|
|
+ type: 'number',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'activeBackground',
|
|
|
|
+ label: '选中背景',
|
|
|
|
+ type: 'color',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'activeColor',
|
|
|
|
+ label: '选中边框',
|
|
|
|
+ type: 'color',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'activeTextColor',
|
|
|
|
+ label: '选中文字',
|
|
|
|
+ type: 'color',
|
|
|
|
+ }, {
|
|
|
|
+ key: 'background',
|
|
|
|
+ label: '(未选中)背景',
|
|
|
|
+ type: 'color',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'color',
|
|
|
|
+ label: '(未选中)边框',
|
|
|
|
+ type: 'color',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'textColor',
|
|
|
|
+ label: '(未选中)文字',
|
|
|
|
+ type: 'color',
|
|
|
|
+ }
|
|
],
|
|
],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
@@ -2663,7 +2706,7 @@ context.meta2d.translate(
|
|
height: 50,
|
|
height: 50,
|
|
direction: 'horizontal',
|
|
direction: 'horizontal',
|
|
selectedKeys: ['0'],
|
|
selectedKeys: ['0'],
|
|
- theme: 'multiple',
|
|
|
|
|
|
+ multiple:true,
|
|
disableInput: true,
|
|
disableInput: true,
|
|
data: [
|
|
data: [
|
|
{ text: '场景一', key: '0' },
|
|
{ text: '场景一', key: '0' },
|
|
@@ -2678,6 +2721,49 @@ context.meta2d.translate(
|
|
label: '数据',
|
|
label: '数据',
|
|
type: 'code',
|
|
type: 'code',
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ key: 'direction',
|
|
|
|
+ label: '方向',
|
|
|
|
+ type: 'select',
|
|
|
|
+ options: [
|
|
|
|
+ { label: '水平', value: 'horizontal' },
|
|
|
|
+ { label: '垂直', value: 'vertical' },
|
|
|
|
+ ],
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'gap',
|
|
|
|
+ label: '间隔',
|
|
|
|
+ type: 'number',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'activeBackground',
|
|
|
|
+ label: '选中背景',
|
|
|
|
+ type: 'color',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'activeColor',
|
|
|
|
+ label: '选中边框',
|
|
|
|
+ type: 'color',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'activeTextColor',
|
|
|
|
+ label: '选中文字',
|
|
|
|
+ type: 'color',
|
|
|
|
+ }, {
|
|
|
|
+ key: 'background',
|
|
|
|
+ label: '(未选中)背景',
|
|
|
|
+ type: 'color',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'color',
|
|
|
|
+ label: '(未选中)边框',
|
|
|
|
+ type: 'color',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'textColor',
|
|
|
|
+ label: '(未选中)文字',
|
|
|
|
+ type: 'color',
|
|
|
|
+ }
|
|
],
|
|
],
|
|
},
|
|
},
|
|
},
|
|
},
|