Browse Source

Pull request #7273: REPORT-64606 插件修改active逻辑重构-插件校验未通过,没有被禁用

Merge in DESIGN/design from ~YVAN/design:release/11.0 to release/11.0

* commit '42a314fb138812b04f883041837d447ab164bb4a':
  REPORT-64606 插件修改active逻辑重构-插件校验未通过,没有被禁用 【问题原因】未适配插件管理里的插件运行状态 【改动思路】1. 传递正确的插件管理里请求的插件运行状态;2. 当isActive与isRunning不匹配时,保证可以正确的启用或禁用插件 【review建议】无
bugfix/11.0
Yvan 3 years ago
parent
commit
39a8fc41ea
  1. 3
      designer-base/src/main/java/com/fr/design/extra/PluginUtils.java

3
designer-base/src/main/java/com/fr/design/extra/PluginUtils.java

@ -269,7 +269,8 @@ public class PluginUtils {
jo.put("vendor", pluginContext.getVendor());
jo.put("price", pluginContext.getPrice());
jo.put("requiredJarTime", pluginContext.getRequiredJarTime());
jo.put("active", pluginContext.isActive());
// 前端需求的active实际上是插件的运行状态,通过isRunning()获取
jo.put("active", pluginContext.isRunning());
jo.put("hidden", pluginContext.isHidden());
jo.put("free", pluginContext.isFree());
jo.put("licDamaged", pluginContext.isLicDamaged());

Loading…
Cancel
Save