refactor(BaTable):表格列的 renderFormatter 替换为 formatter

This commit is contained in:
妙码生花 2024-10-06 08:53:47 +08:00
parent c336587e2f
commit 89f3747b5d
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ const baTable = new baTableClass(new baTableApi('/admin/routine.Attachment/'), {
label: t('utils.preview'),
prop: 'suffix',
align: 'center',
renderFormatter: previewRenderFormatter,
formatter: previewRenderFormatter,
render: 'image',
operator: false,
},

View File

@ -111,7 +111,7 @@ const baTable = new baTableClass(new baTableApi('/admin/routine.Attachment/'), {
label: t('utils.preview'),
prop: 'suffix',
align: 'center',
renderFormatter: previewRenderFormatter,
formatter: previewRenderFormatter,
render: 'image',
operator: false,
},