@@ -296,25 +296,18 @@ export class DataSourceForm extends PureComponent<DataSourceFormProps> {
296296 } ,
297297 'x-decorator' : 'FormItem' ,
298298 items : {
299- type : 'void ' ,
300- 'x-component' : 'Space' ,
299+ type : 'object ' ,
300+ // 'x-component': 'Space',
301301 properties : {
302- sort : {
303- type : 'void' ,
304- 'x-decorator' : 'FormItem' ,
305- 'x-component' : 'ArrayItems.SortHandle' ,
306- } ,
307- params : {
302+ space : {
308303 type : 'void' ,
309304 'x-component' : 'Space' ,
310- 'x-component-props' : {
311- /* direction: "vertical",
312- align: "start",
313- style: {
314- alignItems: "flex-start",
315- }, */
316- } ,
317305 properties : {
306+ sort : {
307+ type : 'void' ,
308+ 'x-decorator' : 'FormItem' ,
309+ 'x-component' : 'ArrayItems.SortHandle' ,
310+ } ,
318311 name : {
319312 title : '' ,
320313 type : 'string' ,
@@ -334,19 +327,19 @@ export class DataSourceForm extends PureComponent<DataSourceFormProps> {
334327 // type: "string",
335328 'x-component' : 'ParamValue' ,
336329 'x-component-props' : {
337- // types: [" string", " boolean", " expression", "number" ],
338- // placeholder: " value" ,
330+ types : [ ' string' , ' boolean' , ' expression' ] ,
331+ placeholder : ' value' ,
339332 } ,
340333 } ,
334+ remove : {
335+ type : 'void' ,
336+ 'x-decorator' : 'FormItem' ,
337+ 'x-component' : 'ArrayItems.Remove' ,
338+ } ,
339+ } ,
341340 } ,
342- } ,
343- remove : {
344- type : 'void' ,
345- 'x-decorator' : 'FormItem' ,
346- 'x-component' : 'ArrayItems.Remove' ,
347341 } ,
348342 } ,
349- } ,
350343 properties : {
351344 addition : {
352345 type : 'void' ,
@@ -397,7 +390,7 @@ export class DataSourceForm extends PureComponent<DataSourceFormProps> {
397390 // type: "string",
398391 'x-component' : 'ParamValue' ,
399392 'x-component-props' : {
400- // types: [" string", " boolean", " expression", "number" ],
393+ types : [ ' string' , ' boolean' , ' expression' ] ,
401394 // placeholder: "value",
402395 } ,
403396 } ,
0 commit comments