From fe6e4da4eb4d7d4f9b4915a1a44214b02c911d61 Mon Sep 17 00:00:00 2001 From: xiaoFjun <124648987@qq.com> Date: Wed, 24 Jun 2026 11:32:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D/update-config=20=E6=8C=87?= =?UTF-8?q?=E4=BB=A4=E6=8A=A5=E9=94=99=EF=BC=9A=20=20=20Error:=20Undefined?= =?UTF-8?q?=20cannot=20be=20represented=20in=20JSON=20Schema=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/settings/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/settings/types.ts b/src/utils/settings/types.ts index 6125911fd..bb87ce42f 100644 --- a/src/utils/settings/types.ts +++ b/src/utils/settings/types.ts @@ -568,7 +568,7 @@ export const SettingsSchema = lazySchema(() => enabledPlugins: z .record( z.string(), - z.union([z.array(z.string()), z.boolean(), z.undefined()]), + z.union([z.array(z.string()), z.boolean()]), // , z.undefined() 导致报错:Undefined cannot be represented in JSON Schema ) .optional() .describe(