wms-antdvue/.svn/pristine/c6/c67cfbe24aff9ca9364e577137899f400591eb95.svn-base
2024-11-07 16:33:03 +08:00

42 lines
798 B
Plaintext

import { FormSchema } from '@/components/Form/index';
export const schemas: FormSchema[] = [
{
name: 'name',
component: 'Input',
label: '数据源名称',
componentProps: {
placeholder: '请输入数据源名称',
},
},
{
name: 'dbType',
component: 'Select',
label: '数据库类型',
componentProps: {
placeholder: '请选择数据库类型',
clearable: true,
options: [
{
label: 'MySQL',
value: 1,
},
{
label: 'PostgreSQL',
value: 2,
},
{
label: 'SQLServer',
value: 3,
},
{
label: 'Oracle',
value: 4,
},{
label: 'Sqlite',
value: 5,
}
],
},
},
];