perf: load plugin groups code;perf: system plugin schema;fix: special variables replace;perf: retry cron app job (#3347)

* perf: load plugin groups code

* perf: system plugin schema

* feat: retry cron app job

* fix: special variables replace
This commit is contained in:
Archer
2024-12-09 17:18:07 +08:00
committed by shilin66
parent 083714130a
commit 01997208fe
16 changed files with 106 additions and 92 deletions

View File

@@ -34,6 +34,9 @@ export type DatasetSchemaType = {
inheritPermission: boolean;
apiServer?: APIFileServer;
syncSchedule?: { cronString: string; timezone: string };
syncNextTime?: Date;
// abandon
externalReadUrl?: string;
defaultPermission?: number;

View File

@@ -321,7 +321,7 @@ export function replaceEditorVariable({
})();
const regex = new RegExp(`\\{\\{\\$(${nodeId}\\.${id})\\$\\}\\}`, 'g');
text = text.replace(regex, formatVal);
text = text.replace(regex, () => formatVal);
});
return text || '';