From 86eea82e7e5260746699c9462d1ebc57f1c5b066 Mon Sep 17 00:00:00 2001 From: likunming Date: Mon, 13 Jan 2025 10:49:33 +0800 Subject: [PATCH] =?UTF-8?q?w-grid=E8=A1=A8=E6=A0=BC=E5=B0=86=E5=88=97?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=AD=E7=9A=84title=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E5=85=A5=E5=8F=82=E4=BF=AE=E6=94=B9=E4=B8=BA=E4=B8=8Eformat?= =?UTF-8?q?=E4=B8=80=E8=87=B4(value,row)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/platform/components/grid/Td.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.sc.platform.core.frontend/src/platform/components/grid/Td.vue b/io.sc.platform.core.frontend/src/platform/components/grid/Td.vue index 107877ac..10f1100e 100644 --- a/io.sc.platform.core.frontend/src/platform/components/grid/Td.vue +++ b/io.sc.platform.core.frontend/src/platform/components/grid/Td.vue @@ -70,7 +70,7 @@ const titleComputed = computed(() => { if (tools.table.columns.length > 0) { const column = tools.table.columns.find((item) => item['name'] === props.col.name); if (column && column['title'] && typeof column['title'] === 'function') { - return column.title({ grid: tools.instance, row: toRaw(props.scope.row), value: props.scope.row[props.col.name] }); + return column.title(props.scope.row[props.col.name], toRaw(props.scope.row)); } else if (column && column['title']) { return column['title']; }