From 746a4c491a82799b9abbafc75f133d9239e340de Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Wed, 6 May 2026 12:09:05 +0800 Subject: [PATCH] fix(grid): display JSONB values as JSON string instead of [object Object] Closes #100 --- src/components/grid/DataGrid.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/grid/DataGrid.vue b/src/components/grid/DataGrid.vue index 606c69fac3..7b21ffe8f7 100644 --- a/src/components/grid/DataGrid.vue +++ b/src/components/grid/DataGrid.vue @@ -608,6 +608,7 @@ async function applyWhereSearch() { function formatCell(value: CellValue): string { if (value === null) return "NULL"; if (typeof value === "boolean") return value ? "true" : "false"; + if (typeof value === "object") return JSON.stringify(value); return String(value); }