easy3wui 1.4.209 → 1.4.210
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/lib/Easy3wFlow/index.js +3 -2
- package/package.json +1 -1
package/lib/Easy3wFlow/index.js
CHANGED
|
@@ -131,11 +131,12 @@ var Easy3wFlow = function (_Component) {
|
|
|
131
131
|
|
|
132
132
|
var renderTopTemp = flowData.map(function (flow, index) {
|
|
133
133
|
var styleflowcircle = (0, _classnames2['default'])(['flowcircle', 'haiergrey']);
|
|
134
|
-
var initMainCode = flowCurMainCode || flowData[0].code;
|
|
135
134
|
if (flow.status === '10') {
|
|
135
|
+
var initMainCode = flowCurMainCode || flow.code;
|
|
136
136
|
styleflowcircle = initMainCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active-haierorange', 'haierorange']) : (0, _classnames2['default'])(['flowcircle', 'haierorange']);
|
|
137
137
|
} else if (flow.status === '20' || flow.status === '30') {
|
|
138
|
-
|
|
138
|
+
var _initMainCode = flowCurMainCode || flowData[0].code;
|
|
139
|
+
styleflowcircle = _initMainCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active-haierblue', 'haierblue']) : (0, _classnames2['default'])(['flowcircle', 'haierblue']);
|
|
139
140
|
}
|
|
140
141
|
return _react2['default'].createElement(
|
|
141
142
|
'div',
|