fix 无插件运行时,无法启动项目

master
jay 2024-07-01 12:58:35 +08:00
parent 5b0e469adc
commit f1a8c1291b
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ public class DefaultPluginOperator implements PluginOperator {
// 开始加载插件 // 开始加载插件
List<PluginInfo> pluginInfos = pluginManager.loadPlugins(); List<PluginInfo> pluginInfos = pluginManager.loadPlugins();
if (ObjectUtils.isEmpty(pluginInfos)) { if (ObjectUtils.isEmpty(pluginInfos)) {
IS_INIT.set(true);
return false; return false;
} }
// 触发插件初始化监听器 // 触发插件初始化监听器