From 5a3466a73ad5ca2bf4ae1f65ad3cef08bdfafdf0 Mon Sep 17 00:00:00 2001 From: YANG QIA <2013xile@gmail.com> Date: Fri, 14 Jun 2024 20:19:22 +0800 Subject: [PATCH] feat(data-vi): allows to use json5 in chart json config (#4668) --- .../src/client/configure/schemas/configure.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/plugins/@nocobase/plugin-data-visualization/src/client/configure/schemas/configure.ts b/packages/plugins/@nocobase/plugin-data-visualization/src/client/configure/schemas/configure.ts index 64fa5787f5e53..eab34e309aab9 100644 --- a/packages/plugins/@nocobase/plugin-data-visualization/src/client/configure/schemas/configure.ts +++ b/packages/plugins/@nocobase/plugin-data-visualization/src/client/configure/schemas/configure.ts @@ -130,6 +130,7 @@ export const getConfigSchema = (general: any): ISchema => ({ autoSize: { minRows: 3, }, + json5: true, }, }, },