From 4a25d973c02b5181d483fb10f7c57b25eb278020 Mon Sep 17 00:00:00 2001 From: sealday Date: Wed, 27 Mar 2024 20:07:17 +0800 Subject: [PATCH] fix: setting block filter order error --- .../schema-initializer/blocks/SettingBlockInitializer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/@hera/plugin-core/src/client/schema-initializer/blocks/SettingBlockInitializer.tsx b/packages/plugins/@hera/plugin-core/src/client/schema-initializer/blocks/SettingBlockInitializer.tsx index 6211bbf70..d6a968493 100644 --- a/packages/plugins/@hera/plugin-core/src/client/schema-initializer/blocks/SettingBlockInitializer.tsx +++ b/packages/plugins/@hera/plugin-core/src/client/schema-initializer/blocks/SettingBlockInitializer.tsx @@ -44,7 +44,7 @@ export const SettingBlockInitializer = () => { title: tval('Please select'), enum: result.data.data.map((item) => { return { - label: item[titleField], + label: item[titleField].toString(), value: item.id, }; }),