35 lines
664 B
Plaintext
35 lines
664 B
Plaintext
import { FormSchema } from '@/components/Form/index';
|
|
export const schemas: FormSchema[] = [
|
|
{
|
|
name: 'fileName',
|
|
component: 'Input',
|
|
label: '文件名称',
|
|
componentProps: {
|
|
placeholder: '请输入文件名称',
|
|
},
|
|
},
|
|
{
|
|
name: 'fileType',
|
|
component: 'Select',
|
|
label: '文件类型',
|
|
componentProps: {
|
|
clearable: true,
|
|
placeholder: '请选择文件类型',
|
|
options: [
|
|
{
|
|
label: '文档',
|
|
value: '1',
|
|
},
|
|
{
|
|
label: '视频',
|
|
value: '2',
|
|
},
|
|
{
|
|
label: '其他',
|
|
value: '3',
|
|
}
|
|
],
|
|
},
|
|
}
|
|
];
|