From bb24a1a3a25c37a545ef5be76ac2a0ca0c1710c6 Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Fri, 7 Apr 2023 22:54:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=AF=BC=E5=87=BA=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=20formatter=20=E6=96=B9=E6=B3=95=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/excel/components/export-btn.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/excel/components/export-btn.tsx b/src/modules/excel/components/export-btn.tsx index 2833d88..7b49cd8 100644 --- a/src/modules/excel/components/export-btn.tsx +++ b/src/modules/excel/components/export-btn.tsx @@ -59,7 +59,7 @@ export default defineComponent({ if (col) { if (col.formatter) { - e = col.formatter(e); + e[i] = col.formatter(e); } if (col.dict) {