jjb-lc-designable
Version:
基于alibaba-designable源码二次封装的表单设计器。
47 lines (45 loc) • 1.02 kB
text/typescript
import { ISchema } from 'jjb-lc-formily/react'
export const Transfer: ISchema = {
type: 'object',
properties: {
oneWay: {
type: 'boolean',
'x-decorator': 'FormItem',
'x-component': 'Switch',
},
showSearch: {
type: 'boolean',
'x-decorator': 'FormItem',
'x-component': 'Switch',
},
showSearchAll: {
type: 'boolean',
'x-decorator': 'FormItem',
'x-component': 'Switch',
'x-component-props': {
defaultChecked: true,
},
},
filterOption: {
'x-decorator': 'FormItem',
'x-component': 'ValueInput',
'x-component-props': {
include: ['EXPRESSION'],
},
},
operations: {
'x-decorator': 'FormItem',
'x-component': 'ValueInput',
'x-component-props': {
include: ['EXPRESSION'],
},
},
titles: {
'x-decorator': 'FormItem',
'x-component': 'ValueInput',
'x-component-props': {
include: ['EXPRESSION'],
},
},
},
}