13 lines
298 B
TypeScript
13 lines
298 B
TypeScript
|
import type { FormSchema } from '@/components/core/schema-form/';
|
||
|
export const formSchemas: FormSchema<API.ProjectEntity>[] = [
|
||
|
{
|
||
|
field: 'name',
|
||
|
component: 'Input',
|
||
|
label: '项目名称',
|
||
|
rules: [{ required: true, type: 'string' }],
|
||
|
colProps: {
|
||
|
span: 12,
|
||
|
},
|
||
|
},
|
||
|
];
|