text: define("app/reducers/globalVal",function(e,t,r){"use strict";function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function s(e,t){switch(void 0===e&&(e=c),console.log(t),t.type){case u.SHOW_SUCCESS:return n({},e,{showSuccess:{show:!0,text:t.text}});case u.HIDE_SUCCESS:return n({},e,{showSuccess:{show:!1,text:"操作成功"}});case u.SHOW_ERROR:return n({},e,{showError:{show:!0,text:t.text}});case u.HIDE_ERROR:return n({},e,{showError:{show:!1,text:""}});case u.SHOW_LOADING:return n({},e,{showLoading:!0});case u.HIDE_LOADING:return n({},e,{showLoading:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e};t["default"]=s;var a=e("app/constants/types"),u=o(a),c={showLoading:!1,showSuccess:{show:!1,text:"操作成功"},showError:{show:!1,text:""}};r.exports=t["default"]});