tachybase_todo/packages/app/src/api/collections/example.ts
2020-12-08 10:02:41 +08:00

27 lines
490 B
TypeScript

import { TableOptions } from '@nocobase/database';
export default {
title: '示例',
showInDataMenu: true,
fields: [
{
interface: 'string',
title: '单行文本',
component: {
showInTable: true,
showInDetail: true,
showInForm: true,
},
},
{
interface: 'textarea',
title: '多行文本',
component: {
showInTable: true,
showInDetail: true,
showInForm: true,
},
},
],
};