...
|
...
|
@@ -56,9 +56,17 @@ class MessageContainer extends Component { |
|
|
}
|
|
|
|
|
|
componentDidMount() {
|
|
|
// console.log('yeww componentDidMount');
|
|
|
this.props.actions.getMsgList(this.props.home.brandId);
|
|
|
}
|
|
|
|
|
|
componentWillReceiveProps() {
|
|
|
if (!this.props.message.isFetching && this.props.message.messageList.size == 0) {
|
|
|
// console.log('yeww componentWillReceiveProps');
|
|
|
this.props.actions.getMsgList(this.props.home.brandId);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
pressRow(rowID){
|
|
|
this.props.actions.checkMessageDetail(rowID);
|
|
|
}
|
...
|
...
|
|