mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
3a2abcb9a3
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user