diff --git a/packages/plugins/@hera/plugin-core/src/client/components/fields/CalcResult.tsx b/packages/plugins/@hera/plugin-core/src/client/components/fields/CalcResult.tsx index 3d55aed14..8b8299001 100644 --- a/packages/plugins/@hera/plugin-core/src/client/components/fields/CalcResult.tsx +++ b/packages/plugins/@hera/plugin-core/src/client/components/fields/CalcResult.tsx @@ -93,10 +93,9 @@ export const CalcResult = (props) => { setValue(result.toString()); } else if (panel) { let items = []; - const childrenType = 'normal'; + let childrenType = ''; // ==========动态导入可能需要的包============ // jsx - const { jsx } = (await import('react/jsx-runtime')).default; const keepJSX = () => jsx; keepJSX(); @@ -104,6 +103,8 @@ export const CalcResult = (props) => { const dayjs = (await import('dayjs')).default; const keepDayjs = () => dayjs; keepDayjs(); + // keep childrenType + childrenType = 'normal'; // ==========动态导入结束===================== // ====================字段配置举例==================