let reducer = function (state = {show: true, curtainState: false, time: 0, messageClose: false}, action){
switch(action.type){
case 'aaa':
return {
...state,
curtainState: action.value
}
}
}
/**
'use strict';
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var reducer = function reducer() {
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { show: true, curtainState: false, time: 0, messageClose: false };
var action = arguments[1];
switch (action.type) {
case 'aaa':
return _extends({}, state, {
curtainState: action.value
});
}
};
**/
console