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