index.ts
490 Bytes
import { useI18n } from '/@/hooks/web/useI18n';
const { t } = useI18n();
import { FormSchema } from '/@/components/Table';
//表单字段
export const schemas: FormSchema[] = [
{
field: 'name',
label: t('equipment.category.categoryNameText'),
component: 'Input',
required: true,
colProps: { span: 18 },
},
{
field: 'cagegoryOrder',
label: t('equipment.category.orderText'),
component: 'Input',
required: true,
colProps: { span: 18 },
},
];