...
|
...
|
@@ -51,12 +51,12 @@ class CouponCenterContainer extends Component { |
|
|
this._onPromptHidden = this._onPromptHidden.bind(this);
|
|
|
this._onNetPromptHidden = this._onNetPromptHidden.bind(this);
|
|
|
|
|
|
this.subscription = NativeAppEventEmitter.addListener(
|
|
|
'UserDidLoginEvent',
|
|
|
(reminder) => {
|
|
|
this.props.actions.couponCenter(true);
|
|
|
}
|
|
|
);
|
|
|
// this.subscription = NativeAppEventEmitter.addListener(
|
|
|
// 'UserDidLoginEvent',
|
|
|
// (reminder) => {
|
|
|
// this.props.actions.couponCenter(true);
|
|
|
// }
|
|
|
// );
|
|
|
}
|
|
|
|
|
|
componentDidMount() {
|
...
|
...
|
@@ -64,7 +64,7 @@ class CouponCenterContainer extends Component { |
|
|
}
|
|
|
|
|
|
componentWillUnmount() {
|
|
|
this.subscription && this.subscription.remove();
|
|
|
// this.subscription && this.subscription.remove();
|
|
|
}
|
|
|
|
|
|
_onPressBanner(url) {
|
...
|
...
|
|