fix: vben codegen

This commit is contained in:
xingyu 2023-09-11 13:35:00 +08:00
parent 092e48b9d5
commit 4674caa01a

View File

@ -19,14 +19,14 @@ const [registerTable, { getForm, reload }] = useTable({
api: get${ simpleClassName }Page, api: get${ simpleClassName }Page,
columns, columns,
formConfig: { labelWidth: 120, schemas: searchFormSchema }, formConfig: { labelWidth: 120, schemas: searchFormSchema },
useSearchForm: true, useSearchForm: true,
showTableSetting: true, showTableSetting: true,
actionColumn: { actionColumn: {
width: 140, width: 140,
title: t('common.action'), title: t('common.action'),
dataIndex: 'action', dataIndex: 'action',
fixed: 'right', fixed: 'right',
}, },
}) })
function handleCreate() { function handleCreate() {