mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-14 17:41:45 +08:00
1 line
2.6 KiB
JavaScript
1 line
2.6 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{"399":function(e,n,t){},"639":function(e,n,t){"use strict";t.r(n);var r,o=t(1),i=t.n(o),a=t(0),c=t.n(a),u=t(653),s=t(9),f=t(44),l=(t(399),Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}),p=function(){function defineProperties(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,n,t){return n&&defineProperties(e.prototype,n),t&&defineProperties(e,t),e}}();n.default=Object(s.connect)(function(){return{}},function(e){return{"onUserLanding":function onUserLanding(n){return e({"type":"user/landing","payload":n})}}})(r=function(e){function Landing(e){!function _classCallCheck(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,Landing);var n=function _possibleConstructorReturn(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?e:n}(this,(Landing.__proto__||Object.getPrototypeOf(Landing)).call(this,e));return n.state=l({},n.state),n}return function _inherits(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{"constructor":{"value":e,"enumerable":!1,"writable":!0,"configurable":!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}(Landing,o["Component"]),p(Landing,[{"key":"componentDidMount","value":function componentDidMount(){var e=Object(f.l)(this.$router.params);console.log(e,24),console.log(this.$router.params),this.props.onUserLanding(e),this.fetch()}},{"key":"fetch","value":function(){var e=function _asyncToGenerator(e){return function(){var n=e.apply(this,arguments);return new Promise(function(e,t){return function step(r,o){try{var i=n[r](o),a=i.value}catch(e){return void t(e)}if(!i.done)return Promise.resolve(a).then(function(e){step("next",e)},function(e){step("throw",e)});e(a)}("next")})}}(regeneratorRuntime.mark(function _callee(){return regeneratorRuntime.wrap(function _callee$(e){for(;;)switch(e.prev=e.next){case 0:i.a.redirectTo({"url":"/pages/auth/reg"});case 1:case"end":return e.stop()}},_callee,this)}));return function fetch(){return e.apply(this,arguments)}}()},{"key":"render","value":function render(){return c.a.createElement(u.a,{"className":"page-member-integral"},c.a.createElement(u.a,null,"跳转中..."))}},{"key":"componentDidShow","value":function componentDidShow(){}}]),Landing}())||r}}]); |