@zat-design/sisyphus-react 3.13.19-beta.1 → 3.13.19-beta.3
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.
@@ -42,7 +42,7 @@ var antdLangMap = {
|
|
42
42
|
'en-US': enUS // en-US
|
43
43
|
};
|
44
44
|
var reducer = function reducer(state, action) {
|
45
|
-
var _state$ProEnum;
|
45
|
+
var _state$ProEnum, _state$ProEnum2;
|
46
46
|
switch (action.type) {
|
47
47
|
case 'set':
|
48
48
|
return _objectSpread(_objectSpread({}, state), action.payload);
|
@@ -59,7 +59,7 @@ var reducer = function reducer(state, action) {
|
|
59
59
|
case 'setProEnumDic':
|
60
60
|
return _objectSpread(_objectSpread({}, state), {}, {
|
61
61
|
ProEnum: _objectSpread(_objectSpread({}, state.ProEnum), {}, {
|
62
|
-
dics: _objectSpread(_objectSpread({}, (_state$ProEnum = state.ProEnum) === null || _state$ProEnum === void 0 ? void 0 : _state$ProEnum.dataSource), action.payload)
|
62
|
+
dics: _objectSpread(_objectSpread(_objectSpread({}, ((_state$ProEnum = state.ProEnum) === null || _state$ProEnum === void 0 ? void 0 : _state$ProEnum.dics) || {}), ((_state$ProEnum2 = state.ProEnum) === null || _state$ProEnum2 === void 0 ? void 0 : _state$ProEnum2.dataSource) || {}), action.payload)
|
63
63
|
})
|
64
64
|
});
|
65
65
|
default:
|
@@ -51,7 +51,7 @@ var antdLangMap = {
|
|
51
51
|
'en-US': _en_US.default // en-US
|
52
52
|
};
|
53
53
|
var reducer = function reducer(state, action) {
|
54
|
-
var _state$ProEnum;
|
54
|
+
var _state$ProEnum, _state$ProEnum2;
|
55
55
|
switch (action.type) {
|
56
56
|
case 'set':
|
57
57
|
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), action.payload);
|
@@ -68,7 +68,7 @@ var reducer = function reducer(state, action) {
|
|
68
68
|
case 'setProEnumDic':
|
69
69
|
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
70
70
|
ProEnum: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state.ProEnum), {}, {
|
71
|
-
dics: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, (_state$ProEnum = state.ProEnum) === null || _state$ProEnum === void 0 ? void 0 : _state$ProEnum.dataSource), action.payload)
|
71
|
+
dics: (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, ((_state$ProEnum = state.ProEnum) === null || _state$ProEnum === void 0 ? void 0 : _state$ProEnum.dics) || {}), ((_state$ProEnum2 = state.ProEnum) === null || _state$ProEnum2 === void 0 ? void 0 : _state$ProEnum2.dataSource) || {}), action.payload)
|
72
72
|
})
|
73
73
|
});
|
74
74
|
default:
|