Authored by 于良

代码优化 review by chenlin

@@ -51,7 +51,7 @@ export default class HotCategoryList extends Component{ @@ -51,7 +51,7 @@ export default class HotCategoryList extends Component{
51 return null; 51 return null;
52 } 52 }
53 53
54 - let imageUrl = SlicedImage.getSlicedUrl(rowData.get("default_images"), 98, 128, 2); 54 + let imageUrl = SlicedImage.getSlicedUrl(rowData.get("default_images", ''), 98, 128, 2);
55 return ( 55 return (
56 <TouchableOpacity onPress={() => this.props.onPressHotCategoryItem && this.props.onPressHotCategoryItem(rowData.toJS(),rowID)}> 56 <TouchableOpacity onPress={() => this.props.onPressHotCategoryItem && this.props.onPressHotCategoryItem(rowData.toJS(),rowID)}>
57 <View style={styles.rowContainer}> 57 <View style={styles.rowContainer}>