...
|
...
|
@@ -148,9 +148,11 @@ export default class Product extends Component { |
|
|
renderFooter() {
|
|
|
let {
|
|
|
commonProduct,
|
|
|
globalProduct,
|
|
|
currentTab,
|
|
|
} = this.props.data;
|
|
|
if (currentTab == 'common' && commonProduct.get('productList').size == 0) {
|
|
|
if ((currentTab == 'common' && commonProduct.get('productList').size == 0)
|
|
|
|| (currentTab == 'global' && globalProduct.get('productList').size == 0)) {
|
|
|
return (
|
|
|
<NoDataView type={'product'} onPressGuangGuang={this.props.onPressGuangGuang}/>
|
|
|
);
|
...
|
...
|
|