fix(vditor): wait seconds 120s

This commit is contained in:
chenos 2024-04-28 12:35:43 +08:00
parent d92c223458
commit 0541ee36e6

View File

@ -37,6 +37,7 @@ export class PluginFieldMarkdownVditorClient extends Plugin {
[`${vditorDepdencePrefix}.mermaid`]: `${cdn}/dist/js/mermaid/mermaid.min`, [`${vditorDepdencePrefix}.mermaid`]: `${cdn}/dist/js/mermaid/mermaid.min`,
}; };
this.app.requirejs.require.config({ this.app.requirejs.require.config({
waitSeconds: 120,
paths: vditorDepdence, paths: vditorDepdence,
}); });
Object.keys(vditorDepdence).forEach((key) => { Object.keys(vditorDepdence).forEach((key) => {