You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
555 B
32 lines
555 B
import { BasicColumn } from '@/components/Table';
|
|
import { FormSchema } from '@/components/Form';
|
|
|
|
export const formSchemas: FormSchema[] = [
|
|
{
|
|
field: 'title',
|
|
label: '标题',
|
|
component: 'Input',
|
|
componentProps: {
|
|
placeholder: '请输入',
|
|
},
|
|
},
|
|
];
|
|
|
|
export const columns: BasicColumn[] = [
|
|
{
|
|
title: '标题',
|
|
dataIndex: 'title',
|
|
},
|
|
{
|
|
title: '类型',
|
|
dataIndex: 'type',
|
|
},
|
|
{
|
|
title: '发布日期',
|
|
dataIndex: 'createTime',
|
|
},
|
|
{
|
|
title: '操作人',
|
|
dataIndex: 'handler',
|
|
},
|
|
];
|
|
|