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

43 lines
808 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,
},
],
},
},
];