Merge branch 'next' into develop

This commit is contained in:
nocobase[bot] 2024-12-09 15:18:15 +00:00
commit 3a2abcb9a3

View File

@ -151,13 +151,7 @@ export const MarkdownVoid: any = withDynamicSchemaProps(
setLoading(true); setLoading(true);
const cvtContentToHTML = async () => { const cvtContentToHTML = async () => {
setTimeout(async () => { setTimeout(async () => {
const replacedContent = await getRenderContent( const replacedContent = await getRenderContent(engine, content, variables, localVariables, parseMarkdown);
engine,
content,
compile(variables),
compile(JSON.parse(JSON.stringify(localVariables))),
parseMarkdown,
);
setHtml(replacedContent); setHtml(replacedContent);
}); });
setLoading(false); setLoading(false);