Commit 8adfef61c3340a36719ccdcd1f557b1586aeddc6
1 parent
40bc3c81
fix: pick image from pixabay gallery
Showing
2 changed files
with
2 additions
and
2 deletions
front-end/h5/src/components/core/support/image-gallery/gallery.js
front-end/h5/src/components/core/support/image-gallery/tabs/pixabay.js
| ... | ... | @@ -58,7 +58,7 @@ export default { |
| 58 | 58 | grid={{ gutter: 12, column: this.isVertial ? 4 : 3 }} |
| 59 | 59 | dataSource={this.items} |
| 60 | 60 | renderItem={(item, index) => ( |
| 61 | - <a-list-item onClick={item => { | |
| 61 | + <a-list-item onClick={(event /** mouseEvent */) => { | |
| 62 | 62 | this.$emit('changeItem', item) |
| 63 | 63 | }}> |
| 64 | 64 | <ImageItem item={item} height={this.isVertial ? 240 : 142 } /> | ... | ... |