Merge pull request #9444 from liaozhiyang/master

@jeecg/aiflow库按需加载判断条件修正
This commit is contained in:
JEECG 2026-03-17 10:47:01 +08:00 committed by GitHub
commit 9b1a3fa14b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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} 未找到`)));
};