fmui-base 2.1.83 → 2.1.85

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.
@@ -760,7 +760,7 @@ var PageHome = function (_React$Component) {
760
760
  console.log("getDetaiExtOperate===");
761
761
  var subForm = this.state.itemParam.subForm;
762
762
  var extButtonList = this.state.itemParam.extButtonList;
763
- // extButtonList = [{'buttonName':'扩展1','buttonFun':'kuozhan1'},{'buttonName':'扩展3','buttonFun':'kuozhan3'}];
763
+ // extButtonList = [{'buttonName':'扩展1','buttonFun':'kuozhan1'},{'buttonName':'扩展3','buttonFun':'kuozhan3','extParam':'{}'}];
764
764
  if (!extButtonList) {
765
765
  extButtonList = [];
766
766
  }
@@ -771,7 +771,7 @@ var PageHome = function (_React$Component) {
771
771
  { className: 'dd-drug-list' },
772
772
  _react2.default.createElement(
773
773
  Box,
774
- { 'data-key': i, onClick: _this3.extOperate.bind(_this3, index, _this3.state.itemParam, item.buttonFun), className: 't-P16 theme-color' },
774
+ { 'data-key': i, onClick: _this3.extOperate.bind(_this3, index, _this3.state.itemParam, item.buttonFun, item.extParam), className: 't-P16 theme-color' },
775
775
  item.buttonName
776
776
  )
777
777
  );
@@ -782,9 +782,9 @@ var PageHome = function (_React$Component) {
782
782
 
783
783
  }, {
784
784
  key: 'extOperate',
785
- value: function extOperate(i, itemParam, buttonFun) {
785
+ value: function extOperate(i, itemParam, buttonFun, extParam) {
786
786
  if (typeof FlowCommon.subFormItemExtOperate === "function") {
787
- FlowCommon.subFormItemExtOperate(this.state, i, itemParam, buttonFun, this);
787
+ FlowCommon.subFormItemExtOperate(this.state, i, itemParam, buttonFun, extParam, this);
788
788
  }
789
789
  }
790
790
  }, {