Commit 4674caa01a0c080ab37cf9e5dd29344de4ae2463
1 parent
092e48b9
fix: vben codegen
Showing
1 changed file
with
10 additions
and
10 deletions
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/views/index.vue.vm
| ... | ... | @@ -17,16 +17,16 @@ const [registerModal, { openModal }] = useModal() |
| 17 | 17 | const [registerTable, { getForm, reload }] = useTable({ |
| 18 | 18 | title: '${table.classComment}列表', |
| 19 | 19 | api: get${ simpleClassName }Page, |
| 20 | - columns, | |
| 21 | - formConfig: { labelWidth: 120, schemas: searchFormSchema }, | |
| 22 | -useSearchForm: true, | |
| 23 | - showTableSetting: true, | |
| 24 | - actionColumn: { | |
| 25 | - width: 140, | |
| 26 | - title: t('common.action'), | |
| 27 | - dataIndex: 'action', | |
| 28 | - fixed: 'right', | |
| 29 | -}, | |
| 20 | + columns, | |
| 21 | + formConfig: { labelWidth: 120, schemas: searchFormSchema }, | |
| 22 | + useSearchForm: true, | |
| 23 | + showTableSetting: true, | |
| 24 | + actionColumn: { | |
| 25 | + width: 140, | |
| 26 | + title: t('common.action'), | |
| 27 | + dataIndex: 'action', | |
| 28 | + fixed: 'right', | |
| 29 | + }, | |
| 30 | 30 | }) |
| 31 | 31 | |
| 32 | 32 | function handleCreate() { | ... | ... |