|
@@ -1611,54 +1611,54 @@ export const formComponents = [
|
|
width: 150,
|
|
width: 150,
|
|
height: 210,
|
|
height: 210,
|
|
expanded: ['1', '2'],
|
|
expanded: ['1', '2'],
|
|
- fontSize:20,
|
|
|
|
|
|
+ fontSize: 20,
|
|
disableInput: true,
|
|
disableInput: true,
|
|
data: [
|
|
data: [
|
|
{
|
|
{
|
|
- key:'1',
|
|
|
|
|
|
+ key: '1',
|
|
label: '1',
|
|
label: '1',
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
- key:'1-1',
|
|
|
|
|
|
+ key: '1-1',
|
|
label: '1-1'
|
|
label: '1-1'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- key:'1-1',
|
|
|
|
|
|
+ key: '1-1',
|
|
label: '1-2'
|
|
label: '1-2'
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- key:'2',
|
|
|
|
|
|
+ key: '2',
|
|
label: '2',
|
|
label: '2',
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
- key:'2-1',
|
|
|
|
|
|
+ key: '2-1',
|
|
label: '2-1',
|
|
label: '2-1',
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
- key:'2-1-1',
|
|
|
|
|
|
+ key: '2-1-1',
|
|
label: '2-1-1',
|
|
label: '2-1-1',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- key:'2-1-2',
|
|
|
|
|
|
+ key: '2-1-2',
|
|
label: '2-2-2'
|
|
label: '2-2-2'
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- key:'2-2',
|
|
|
|
|
|
+ key: '2-2',
|
|
label: '2-2'
|
|
label: '2-2'
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- key:'3',
|
|
|
|
|
|
+ key: '3',
|
|
label: '3'
|
|
label: '3'
|
|
},
|
|
},
|
|
],
|
|
],
|
|
- props:{
|
|
|
|
- custom:[
|
|
|
|
|
|
+ props: {
|
|
|
|
+ custom: [
|
|
{
|
|
{
|
|
key: 'expandAll',
|
|
key: 'expandAll',
|
|
label: '展开全部节点',
|
|
label: '展开全部节点',
|
|
@@ -2078,24 +2078,24 @@ export const formComponents = [
|
|
{
|
|
{
|
|
key: '1',
|
|
key: '1',
|
|
text: '页面1',
|
|
text: '页面1',
|
|
- to:'https://www.baidu.com',
|
|
|
|
- target:'_blank'
|
|
|
|
|
|
+ to: 'https://www.baidu.com',
|
|
|
|
+ target: '_blank'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
key: '2',
|
|
key: '2',
|
|
text: '页面2',
|
|
text: '页面2',
|
|
- to:'https://2d.le5le.com/?id=641d524a8df2c654ea652d7e',
|
|
|
|
- target:'_blank'
|
|
|
|
- },
|
|
|
|
|
|
+ to: 'https://2d.le5le.com/?id=641d524a8df2c654ea652d7e',
|
|
|
|
+ target: '_blank'
|
|
|
|
+ },
|
|
{
|
|
{
|
|
key: '3',
|
|
key: '3',
|
|
text: '页面3',
|
|
text: '页面3',
|
|
- to:'https://2d.le5le.com/?id=6357a9e2d44b9402de84d2e8',
|
|
|
|
- target:'_self'
|
|
|
|
|
|
+ to: 'https://2d.le5le.com/?id=6357a9e2d44b9402de84d2e8',
|
|
|
|
+ target: '_self'
|
|
}
|
|
}
|
|
],
|
|
],
|
|
- props:{
|
|
|
|
- custom:[
|
|
|
|
|
|
+ props: {
|
|
|
|
+ custom: [
|
|
{
|
|
{
|
|
key: 'gap',
|
|
key: 'gap',
|
|
label: '间距',
|
|
label: '间距',
|
|
@@ -2237,7 +2237,7 @@ export const formComponents = [
|
|
pageSize: 5,
|
|
pageSize: 5,
|
|
current: 1,
|
|
current: 1,
|
|
maxPageBtn: 5,
|
|
maxPageBtn: 5,
|
|
- disableInput:true,
|
|
|
|
|
|
+ disableInput: true,
|
|
pageSizeOptions: [5, 10, 20, 30],
|
|
pageSizeOptions: [5, 10, 20, 30],
|
|
props: {
|
|
props: {
|
|
custom: [
|
|
custom: [
|
|
@@ -2314,19 +2314,19 @@ export const formComponents = [
|
|
selectKey: '1',
|
|
selectKey: '1',
|
|
selectedKeys: [],
|
|
selectedKeys: [],
|
|
theme: '',
|
|
theme: '',
|
|
- disableInput:true,
|
|
|
|
|
|
+ disableInput: true,
|
|
data: [
|
|
data: [
|
|
{ text: '场景一', key: '0', isForbidden: true },
|
|
{ text: '场景一', key: '0', isForbidden: true },
|
|
{ text: '场景二', key: '1' },
|
|
{ text: '场景二', key: '1' },
|
|
{ text: '场景三', key: '2' },
|
|
{ text: '场景三', key: '2' },
|
|
{ text: '场景四', key: '3' },
|
|
{ text: '场景四', key: '3' },
|
|
],
|
|
],
|
|
- props:{
|
|
|
|
- custom:[
|
|
|
|
|
|
+ props: {
|
|
|
|
+ custom: [
|
|
{
|
|
{
|
|
- key:'data',
|
|
|
|
- label:'数据',
|
|
|
|
- type:'code'
|
|
|
|
|
|
+ key: 'data',
|
|
|
|
+ label: '数据',
|
|
|
|
+ type: 'code'
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
@@ -2342,7 +2342,7 @@ export const formComponents = [
|
|
direction: 'horizontal',
|
|
direction: 'horizontal',
|
|
selectedKeys: ['0'],
|
|
selectedKeys: ['0'],
|
|
theme: 'multiple',
|
|
theme: 'multiple',
|
|
- disableInput:true,
|
|
|
|
|
|
+ disableInput: true,
|
|
|
|
|
|
data: [
|
|
data: [
|
|
{ text: '场景一', key: '0' },
|
|
{ text: '场景一', key: '0' },
|
|
@@ -2350,12 +2350,12 @@ export const formComponents = [
|
|
{ text: '场景三', key: '2' },
|
|
{ text: '场景三', key: '2' },
|
|
{ text: '场景四', key: '3' },
|
|
{ text: '场景四', key: '3' },
|
|
],
|
|
],
|
|
- props:{
|
|
|
|
- custom:[
|
|
|
|
|
|
+ props: {
|
|
|
|
+ custom: [
|
|
{
|
|
{
|
|
- key:'data',
|
|
|
|
- label:'数据',
|
|
|
|
- type:'code'
|
|
|
|
|
|
+ key: 'data',
|
|
|
|
+ label: '数据',
|
|
|
|
+ type: 'code'
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
@@ -2460,26 +2460,26 @@ export const formComponents = [
|
|
{ key: '3', text: '选项三' },
|
|
{ key: '3', text: '选项三' },
|
|
],
|
|
],
|
|
selectKey: '2',
|
|
selectKey: '2',
|
|
- props:{
|
|
|
|
- custom:[
|
|
|
|
|
|
+ props: {
|
|
|
|
+ custom: [
|
|
{
|
|
{
|
|
- key:'data',
|
|
|
|
- label:'数据',
|
|
|
|
- type:'code'
|
|
|
|
|
|
+ key: 'data',
|
|
|
|
+ label: '数据',
|
|
|
|
+ type: 'code'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- key:'direction',
|
|
|
|
- label:'排列方向',
|
|
|
|
- type:'select',
|
|
|
|
|
|
+ key: 'direction',
|
|
|
|
+ label: '排列方向',
|
|
|
|
+ type: 'select',
|
|
options: [
|
|
options: [
|
|
{ label: '横向', value: 'horizontal' },
|
|
{ label: '横向', value: 'horizontal' },
|
|
{ label: '纵向', value: 'vertical' },
|
|
{ label: '纵向', value: 'vertical' },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- key:'theme',
|
|
|
|
- label:'模式',
|
|
|
|
- type:'select',
|
|
|
|
|
|
+ key: 'theme',
|
|
|
|
+ label: '模式',
|
|
|
|
+ type: 'select',
|
|
options: [
|
|
options: [
|
|
{ label: '通用模式', value: 'normal' },
|
|
{ label: '通用模式', value: 'normal' },
|
|
{ label: '按钮模式', value: 'button' },
|
|
{ label: '按钮模式', value: 'button' },
|
|
@@ -2504,26 +2504,26 @@ export const formComponents = [
|
|
{ key: '3', text: '选项三' },
|
|
{ key: '3', text: '选项三' },
|
|
],
|
|
],
|
|
selectedKeys: ['2', '3'],
|
|
selectedKeys: ['2', '3'],
|
|
- props:{
|
|
|
|
- custom:[
|
|
|
|
|
|
+ props: {
|
|
|
|
+ custom: [
|
|
{
|
|
{
|
|
- key:'data',
|
|
|
|
- label:'数据',
|
|
|
|
- type:'code'
|
|
|
|
|
|
+ key: 'data',
|
|
|
|
+ label: '数据',
|
|
|
|
+ type: 'code'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- key:'direction',
|
|
|
|
- label:'排列方向',
|
|
|
|
- type:'select',
|
|
|
|
|
|
+ key: 'direction',
|
|
|
|
+ label: '排列方向',
|
|
|
|
+ type: 'select',
|
|
options: [
|
|
options: [
|
|
{ label: '横向', value: 'horizontal' },
|
|
{ label: '横向', value: 'horizontal' },
|
|
{ label: '纵向', value: 'vertical' },
|
|
{ label: '纵向', value: 'vertical' },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- key:'theme',
|
|
|
|
- label:'模式',
|
|
|
|
- type:'select',
|
|
|
|
|
|
+ key: 'theme',
|
|
|
|
+ label: '模式',
|
|
|
|
+ type: 'select',
|
|
options: [
|
|
options: [
|
|
{ label: '通用模式', value: 'normal' },
|
|
{ label: '通用模式', value: 'normal' },
|
|
{ label: '按钮模式', value: 'button' },
|
|
{ label: '按钮模式', value: 'button' },
|
|
@@ -2721,7 +2721,7 @@ export const formComponents = [
|
|
name: 'roundSwitch',
|
|
name: 'roundSwitch',
|
|
width: 128,
|
|
width: 128,
|
|
height: 128,
|
|
height: 128,
|
|
- checked:true,
|
|
|
|
|
|
+ checked: true,
|
|
disableInput: true,
|
|
disableInput: true,
|
|
offColor: '#FFA98F',
|
|
offColor: '#FFA98F',
|
|
onColor: '#80D99F',
|
|
onColor: '#80D99F',
|
|
@@ -2752,7 +2752,7 @@ export const formComponents = [
|
|
name: 'changeOverSwitch',
|
|
name: 'changeOverSwitch',
|
|
width: 128,
|
|
width: 128,
|
|
height: 128,
|
|
height: 128,
|
|
- checked:true,
|
|
|
|
|
|
+ checked: true,
|
|
disableInput: true,
|
|
disableInput: true,
|
|
offColor: '#FFA98F',
|
|
offColor: '#FFA98F',
|
|
onColor: '#80D99F',
|
|
onColor: '#80D99F',
|