From 89f3747b5dfd96cfeccff55c1f9ca30e6088508e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=99=E7=A0=81=E7=94=9F=E8=8A=B1?= <18523774412@qq.com> Date: Sun, 6 Oct 2024 08:53:47 +0800 Subject: [PATCH] =?UTF-8?q?refactor(BaTable):=E8=A1=A8=E6=A0=BC=E5=88=97?= =?UTF-8?q?=E7=9A=84=20renderFormatter=20=E6=9B=BF=E6=8D=A2=E4=B8=BA=20for?= =?UTF-8?q?matter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/baInput/components/selectFile.vue | 2 +- web/src/views/backend/routine/attachment/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/baInput/components/selectFile.vue b/web/src/components/baInput/components/selectFile.vue index 5979a428..7c9522a3 100644 --- a/web/src/components/baInput/components/selectFile.vue +++ b/web/src/components/baInput/components/selectFile.vue @@ -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, }, diff --git a/web/src/views/backend/routine/attachment/index.vue b/web/src/views/backend/routine/attachment/index.vue index 85f67a76..48a21f74 100644 --- a/web/src/views/backend/routine/attachment/index.vue +++ b/web/src/views/backend/routine/attachment/index.vue @@ -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, },