diff --git a/packages/core/client/src/schema-component/common/utils/uitls.tsx b/packages/core/client/src/schema-component/common/utils/uitls.tsx index 34deeedab6..2b846022be 100644 --- a/packages/core/client/src/schema-component/common/utils/uitls.tsx +++ b/packages/core/client/src/schema-component/common/utils/uitls.tsx @@ -155,7 +155,8 @@ export async function getRenderContent(templateEngine, content, variables, local // 处理渲染后的内容 try { const data = getVariablesData(localVariables); - return renderedContent({ ...variables.ctxRef.current, ...data }); + const html = renderedContent({ ...variables.ctxRef.current, ...data }); + return await defaultParse(html); } catch (error) { console.log(error); return content;