add example collection options for app

This commit is contained in:
chenos 2020-12-09 20:47:58 +08:00
parent 9b73e2a7d3
commit cbc81f1173

View File

@ -22,5 +22,77 @@ export default {
showInForm: true,
},
},
{
interface: 'phone',
title: '手机号',
component: {
showInTable: true,
showInDetail: true,
showInForm: true,
},
},
{
interface: 'email',
title: '邮箱',
component: {
showInTable: true,
showInDetail: true,
showInForm: true,
},
},
{
interface: 'number',
title: '数字',
component: {
showInTable: true,
showInDetail: true,
showInForm: true,
},
},
{
interface: 'percent',
title: '百分比',
component: {
showInTable: true,
showInDetail: true,
showInForm: true,
},
},
{
interface: 'datetime',
title: '日期',
component: {
showInTable: true,
showInDetail: true,
showInForm: true,
},
},
{
interface: 'time',
title: '时间',
component: {
showInTable: true,
showInDetail: true,
showInForm: true,
},
},
{
interface: 'createdAt',
title: '创建日期',
component: {
showInTable: true,
showInDetail: true,
// showInForm: true,
},
},
{
interface: 'updatedAt',
title: '更新日期',
component: {
showInTable: true,
showInDetail: true,
// showInForm: true,
},
}
],
};