Authored by 孙凯

time crash bug review by hongmo

@@ -72,11 +72,11 @@ export default class BrandStore extends Component { @@ -72,11 +72,11 @@ export default class BrandStore extends Component {
72 animationEnd : () => { 72 animationEnd : () => {
73 this._toast._toastAnimationToggle = setTimeout( 73 this._toast._toastAnimationToggle = setTimeout(
74 () => { 74 () => {
75 - this._toast.hide({ 75 + this._toast?this._toast.hide({
76 duration: 0, 76 duration: 0,
77 animationEnd: () => { 77 animationEnd: () => {
78 } 78 }
79 - }) 79 + }):null
80 }, 80 },
81 1000 81 1000
82 ); 82 );
@@ -193,7 +193,7 @@ export default class BrandStore extends Component { @@ -193,7 +193,7 @@ export default class BrandStore extends Component {
193 return ( 193 return (
194 <HotProducts 194 <HotProducts
195 resource={rowData} 195 resource={rowData}
196 - onPressProduct={this.props.onPressFloorProduct} 196 + onPressProduct={this.props.onPressProduct}
197 onPressMoreProducts={this.props.onPressMoreProducts} 197 onPressMoreProducts={this.props.onPressMoreProducts}
198 /> 198 />
199 ); 199 );
@@ -223,7 +223,7 @@ export default class BrandStore extends Component { @@ -223,7 +223,7 @@ export default class BrandStore extends Component {
223 key={'row' + rowID} 223 key={'row' + rowID}
224 rowID={rowID} 224 rowID={rowID}
225 data={rowData} 225 data={rowData}
226 - onPressProduct={this.props.onPressProductListProduct} 226 + onPressProduct={this.props.onPressProduct}
227 /> 227 />
228 ); 228 );
229 } 229 }