@jeecg/aiflow库按需加载判断判断条件修正

This commit is contained in:
liaozhiyang 2026-03-17 10:45:25 +08:00
parent c554c4c012
commit 4468ec25fb

View File

@ -122,7 +122,7 @@ function dynamicImport(dynamicViewsModules: Record<string, () => Promise<Recorda
return;
}
// online/aiflow
if (component.startsWith('/super/online') || component.startsWith('/super/aiflow')) {
if (component.startsWith('/super/online') || component.startsWith('/super/airag')) {
return () => {
return loadPackageComponent(component).then((factory) => (factory ? factory() : Promise.reject(`组件 ${component} 未找到`)));
};