|
@@ -1592,8 +1592,34 @@ export const formComponents = [
|
|
|
name: '选项卡',
|
|
|
icon: 'l-pc',
|
|
|
data: {
|
|
|
- width: 200,
|
|
|
- height: 200,
|
|
|
+ name:'leTab',
|
|
|
+ width: 500,
|
|
|
+ height: 50,
|
|
|
+ direction:'horizontal',
|
|
|
+ selectKey:'0',
|
|
|
+ data:[
|
|
|
+ {text:'场景一',key:'0',isForbidden:true},
|
|
|
+ {text:'场景二',key:'1'},
|
|
|
+ {text:'场景三',key:'2'},
|
|
|
+ {text:'场景四',key:'3'}
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '多选选项卡',
|
|
|
+ icon: 'l-pc',
|
|
|
+ data: {
|
|
|
+ name:'leTabs',
|
|
|
+ width: 500,
|
|
|
+ height: 50,
|
|
|
+ direction:'horizontal',
|
|
|
+ selectedKeys:['0'],
|
|
|
+ data:[
|
|
|
+ {text:'场景一',key:'0'},
|
|
|
+ {text:'场景二',key:'1',isForbidden:true},
|
|
|
+ {text:'场景三',key:'2'},
|
|
|
+ {text:'场景四',key:'3'}
|
|
|
+ ]
|
|
|
},
|
|
|
},
|
|
|
],
|