We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 978f5c8 commit 8b4c66eCopy full SHA for 8b4c66e
1 file changed
src/water-flow/index.js
@@ -48,7 +48,7 @@ Component({
48
}
49
this._select(data, refresh).then(() => {
50
success && success();
51
- }).catch(err=>{
+ }).catch(err => {
52
console.error(err);
53
});
54
};
@@ -91,7 +91,7 @@ Component({
91
* @param e 事件对象
92
*/
93
onTapItem(e) {
94
- eventUtil.emit(this, 'linitemtap', e.detail);
+ eventUtil.emit(this, 'linitemtap', { item: e.currentTarget.dataset.item });
95
96
97
0 commit comments