|
|
@@ -158,6 +158,58 @@ const formConfig = reactive<BasicForm>({
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ label: '树选择',
|
|
|
+ value: '',
|
|
|
+ name: 'tree',
|
|
|
+ type: 'tree-select',
|
|
|
+ props: {
|
|
|
+ data: [
|
|
|
+ {
|
|
|
+ value: '1',
|
|
|
+ label: 'Level one 1',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ value: '1-1',
|
|
|
+ label: 'Level two 1-1',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ value: '1-1-1',
|
|
|
+ label: 'Level three 1-1-1'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: '2',
|
|
|
+ label: 'Level one 2',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ value: '2-1',
|
|
|
+ label: 'Level two 2-1',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ value: '2-1-1',
|
|
|
+ label: 'Level three 2-1-1'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: '2-2',
|
|
|
+ label: 'Level two 2-2',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ value: '2-2-1',
|
|
|
+ label: 'Level three 2-2-1'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
label: '图片',
|
|
|
value: '',
|