@farris/jit-engine 1.3.299 → 1.3.300

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- 1.3.299
1
+ 1.3.300
2
2
 
3
3
  流程版本更新
4
4
 
@@ -90,7 +90,7 @@ class ToolbarCollector extends abstract_component_parameter_collector_1.Abstract
90
90
  visibleControlledByRules: element.visibleControlledByRules,
91
91
  disableControlledByRules: element.disableControlledByRules
92
92
  };
93
- states[barItemConfig.id] = toolhepler_1.ToolHelper.createBinding(barItemConfig.disable.value, true, externalComponentNameSpace, barItemConfig.id).value;
93
+ states[barItemConfig.id] = toolhepler_1.ToolHelper.isNullOrUndefinedOrEmpty(barItemConfig.disable.value) ? 'false' : barItemConfig.disable.value;
94
94
  visibleState[barItemConfig.id] = toolhepler_1.ToolHelper.createBinding(barItemConfig.visible, true, externalComponentNameSpace, barItemConfig.id).value;
95
95
  if (element.items && element.items.length) {
96
96
  this.collectToolbarItems(element, toolbarItem.children, events, states, visibleState, i18nResourceKeyPrefix, externalComponentNameSpace, viewModel);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farris/jit-engine",
3
- "version": "1.3.299",
3
+ "version": "1.3.300",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {