Skip to content

Commit 4468ec2

Browse files
committed
@jeecg/aiflow库按需加载判断判断条件修正
1 parent c554c4c commit 4468ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jeecgboot-vue3/src/router/helper/routeHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function dynamicImport(dynamicViewsModules: Record<string, () => Promise<Recorda
122122
return;
123123
}
124124
// online/aiflow 本地未找到,尝试从懒加载包中按需加载
125-
if (component.startsWith('/super/online') || component.startsWith('/super/aiflow')) {
125+
if (component.startsWith('/super/online') || component.startsWith('/super/airag')) {
126126
return () => {
127127
return loadPackageComponent(component).then((factory) => (factory ? factory() : Promise.reject(`组件 ${component} 未找到`)));
128128
};

0 commit comments

Comments
 (0)