tachybase_todo/packages/client/src/demos/api/ui-schemas-getTree/item2.ts
2021-07-11 22:20:54 +08:00

32 lines
698 B
TypeScript

import { ISchema } from '@formily/json-schema';
import { uid } from '@formily/shared';
export default {
type: 'object',
properties: {
[uid()]: {
type: 'void',
'x-decorator': 'Card',
'x-component': 'Grid',
properties: {
[uid()]: {
type: 'void',
'x-component': 'Grid.Row',
properties: {
[uid()]: {
type: 'void',
'x-component': 'Grid.Col',
properties: {
[uid()]: {
type: 'void',
'x-component': 'AddNew.BlockItem',
},
},
},
},
},
},
},
},
} as ISchema;