perf: doc2x plugins (#3162)

This commit is contained in:
Archer
2024-11-14 21:56:13 +08:00
committed by GitHub
parent be59c2f6a7
commit 3f72f88591
10 changed files with 158 additions and 285 deletions

View File

@@ -22,6 +22,8 @@ export const getSystemPlugins = async (refresh = false) => {
addLog.info(`Load system plugin successfully: ${global.systemPlugins.length}`);
getSystemPluginCb();
return cloneDeep(global.systemPlugins);
} catch (error) {
//@ts-ignore