easy3wui 1.4.253 → 1.4.254

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.
@@ -142,9 +142,9 @@ var Easy3wFlow = function (_Component) {
142
142
  var renderTopTemp = flowData.map(function (flow, index) {
143
143
  var styleflowcircle = (0, _classnames2['default'])(['flowcircle', 'haiergrey']);
144
144
  if (flow.status === '10') {
145
- styleflowcircle = flowCurCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active-haierorange', 'haierorange']) : (0, _classnames2['default'])(['flowcircle', 'haierorange']);
145
+ styleflowcircle = flowCurCode.indexOf(flow.code) > -1 ? (0, _classnames2['default'])(['flowcircle-active-haierorange', 'haierorange']) : (0, _classnames2['default'])(['flowcircle', 'haierorange']);
146
146
  } else if (flow.status === '20' || flow.status === '30') {
147
- styleflowcircle = flowCurCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active-haierblue', 'haierblue']) : (0, _classnames2['default'])(['flowcircle', 'haierblue']);
147
+ styleflowcircle = flowCurCode.indexOf(flow.code) > -1 ? (0, _classnames2['default'])(['flowcircle-active-haierblue', 'haierblue']) : (0, _classnames2['default'])(['flowcircle', 'haierblue']);
148
148
  }
149
149
  return _react2['default'].createElement(
150
150
  'div',
@@ -364,7 +364,7 @@ var Easy3wFlow = function (_Component) {
364
364
  return _react2['default'].createElement(
365
365
  'div',
366
366
  { className: styleflowtext },
367
- flow.planDate ? detailMidTitle : defaultMidTitle
367
+ flow.showDateFlag ? detailMidTitle : defaultMidTitle
368
368
  );
369
369
  });
370
370
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy3wui",
3
- "version": "1.4.253",
3
+ "version": "1.4.254",
4
4
  "description": "easy3wui components for react",
5
5
  "keywords": [
6
6
  "react",