mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-23 07:40:18 +00:00
refactor(BaTable):表格列的 renderFormatter 替换为 formatter
This commit is contained in:
parent
c336587e2f
commit
89f3747b5d
@ -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,
|
||||
},
|
||||
|
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user