接点击事件 review by hongmo
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -126,7 +126,7 @@ export default class GoodsCell extends React.Component { | @@ -126,7 +126,7 @@ export default class GoodsCell extends React.Component { | ||
126 | /> : null} | 126 | /> : null} |
127 | </View> | 127 | </View> |
128 | <TouchableOpacity activeOpacity={0.5} onPress={() => { | 128 | <TouchableOpacity activeOpacity={0.5} onPress={() => { |
129 | - this.props.onPressProduct && this.props.onPressProduct(obj); | 129 | + this.props.onPressProduct && this.props.onPressProduct(Immutable.fromJS(obj)); |
130 | }}> | 130 | }}> |
131 | <View style={styles.button}> | 131 | <View style={styles.button}> |
132 | <Text style={styles.b}>查看详情</Text> | 132 | <Text style={styles.b}>查看详情</Text> |
-
Please register or login to post a comment