From 0541ee36e6ba1b1b3e712dd2e87e321501283ac5 Mon Sep 17 00:00:00 2001 From: chenos Date: Sun, 28 Apr 2024 12:35:43 +0800 Subject: [PATCH] fix(vditor): wait seconds 120s --- .../@nocobase/plugin-field-markdown-vditor/src/client/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/index.tsx b/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/index.tsx index c5d4210871..d21f245c3a 100644 --- a/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/index.tsx +++ b/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/index.tsx @@ -37,6 +37,7 @@ export class PluginFieldMarkdownVditorClient extends Plugin { [`${vditorDepdencePrefix}.mermaid`]: `${cdn}/dist/js/mermaid/mermaid.min`, }; this.app.requirejs.require.config({ + waitSeconds: 120, paths: vditorDepdence, }); Object.keys(vditorDepdence).forEach((key) => {