iOS上图片不刷新问题 fix review by 陈林
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -51,7 +51,7 @@ export default class HotBrandList extends Component{ | @@ -51,7 +51,7 @@ export default class HotBrandList extends Component{ | ||
51 | return ( | 51 | return ( |
52 | <TouchableOpacity onPress={() => this.props.onPressHotBrandItem && this.props.onPressHotBrandItem(rowData.toJS(), rowID)}> | 52 | <TouchableOpacity onPress={() => this.props.onPressHotBrandItem && this.props.onPressHotBrandItem(rowData.toJS(), rowID)}> |
53 | <View style={styles.rowContainer}> | 53 | <View style={styles.rowContainer}> |
54 | - <View style={styles.rowImageContainer}><Image style={styles.rowThumbnail} source={{uri: imageUrl}}/></View> | 54 | + <View style={styles.rowImageContainer}><Image style={styles.rowThumbnail} key={imageUrl} source={{uri: imageUrl}}/></View> |
55 | <Text style={styles.rowText} numberOfLines={1}>{brandName}</Text> | 55 | <Text style={styles.rowText} numberOfLines={1}>{brandName}</Text> |
56 | </View> | 56 | </View> |
57 | </TouchableOpacity> | 57 | </TouchableOpacity> |
-
Please register or login to post a comment