代码优化 review by chenlin
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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}> |
-
Please register or login to post a comment