import { ISchema } from '@formily/react'; import { defaultProps } from './properties'; export const string: ISchema = { name: 'string', type: 'object', group: 'basic', order: 1, title: '单行文本', default: { interface: 'string', dataType: 'string', // name, uiSchema: { type: 'string', // title, 'x-component': 'Input', 'x-decorator': 'FormItem', 'x-designable-bar': 'Input.DesignableBar', } as ISchema, }, properties: { ...defaultProps, }, operations: [ { label: '等于', value: 'eq' }, { label: '不等于', value: 'ne' }, ], };