14.chunk.js 1.16 KB
webpackJsonp([14],{1303:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var u,r=n(8),l=o(r),i=n(1),a=o(i),p=n(4),s=o(p),c=n(2),f=o(c),d=n(3),m=o(d),h=n(10),v=n(0),y=o(v),_=n(12),E=n(487),k=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(E),w=(0,_.withRouter)(u=(0,h.observer)(u=function(e){function t(){return(0,a.default)(this,t),(0,f.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,s.default)(t,[{key:"componentWillMount",value:function(){k.doInitEmSDK(),k.resetEmElement()}},{key:"componentWillReceiveProps",value:function(e,t){var n=this.props.location||{},o=e.location||{};n.pathname!==o.pathname&&(k.resetEmElement(),k.setEmTopNav(o.pathname))}},{key:"componentWillUnmount",value:function(){k.resetEmElement()}},{key:"componentDidMount",value:function(){window.historyRoute=this.props.history}},{key:"render",value:function(){return this.props.children}}]),t}(y.default.Component))||u)||u;t.default=w}});
//# sourceMappingURL=14.chunk.js.map?v=be9d3645