Jelajahi Sumber

Merge branch 'main' of github.com:le5le-com/visualization-design

ananzhusen 1 tahun lalu
induk
melakukan
8a20a5ee23
1 mengubah file dengan 23 tambahan dan 23 penghapusan
  1. 23 23
      src/services/defaults.ts

+ 23 - 23
src/services/defaults.ts

@@ -1725,16 +1725,16 @@ export const formComponents = [
           name: 'leTab',
           width: 500,
           height: 50,
-          direction: 'vertical',
-          selectKey: '1',
-          selectedKeys: [],
-          them: '',
-          data: [
-            { text: '场景一', key: '0', isForbidden: true },
-            { text: '场景二', key: '1' },
-            { text: '场景三', key: '2' },
-            { text: '场景四', key: '3' },
-          ],
+          direction:'horizontal',
+          selectKey:'1',
+          selectedKeys:[],
+          theme:'',
+          data:[
+            {text:'场景一',key:'0',isForbidden:true},
+            {text:'场景二',key:'1'},
+            {text:'场景三',key:'2'},
+            {text:'场景四',key:'3'}
+          ]
         },
       },
       {
@@ -1744,15 +1744,15 @@ export const formComponents = [
           name: 'leTab',
           width: 500,
           height: 50,
-          direction: 'horizontal',
-          selectedKeys: ['0'],
-          them: 'multiple',
-          data: [
-            { text: '场景一', key: '0' },
-            { text: '场景二', key: '1', isForbidden: true },
-            { text: '场景三', key: '2' },
-            { text: '场景四', key: '3' },
-          ],
+          direction:'horizontal',
+          selectedKeys:['0'],
+          theme:'multiple',
+          data:[
+            {text:'场景一',key:'0'},
+            {text:'场景二',key:'1',isForbidden:true},
+            {text:'场景三',key:'2'},
+            {text:'场景四',key:'3'}
+          ]
         },
       },
     ],
@@ -1842,12 +1842,12 @@ export const formComponents = [
         icon: 'l-danxuanxiang',
         data: {
           name: 'leRadio',
-          width: 150,
+          width: 300,
           height: 30,
           disableAnchor: true,
           direction: 'horizontal', // 'vertical', //'horizontal',
-          them: 'button',
-          itemPosition: [],
+          theme:'',
+          itemPosition:[],
           data: [
             { key: '1', text: '选项一', isForbidden: true },
             { key: '2', text: '选项示例二' },
@@ -1864,7 +1864,7 @@ export const formComponents = [
           width: 300,
           height: 30,
           direction: 'horizontal', // 'vertical', //'horizontal',
-          them: 'button',
+          theme:'',
           data: [
             { key: '1', text: '选项一', isForbidden: true },
             { key: '2', text: '选项示例二' },