diff --git a/front-end/h5/src/components/core/support/image-gallery/gallery.js b/front-end/h5/src/components/core/support/image-gallery/gallery.js index 29b3f827..d63a4502 100644 --- a/front-end/h5/src/components/core/support/image-gallery/gallery.js +++ b/front-end/h5/src/components/core/support/image-gallery/gallery.js @@ -55,7 +55,7 @@ export default { this.handleSelectImage(item) }}/> case 'pixabay': - return { + return { this.handleSelectImage(item) }}/> } diff --git a/front-end/h5/src/components/core/support/image-gallery/tabs/pixabay.js b/front-end/h5/src/components/core/support/image-gallery/tabs/pixabay.js index d6feee1d..005bfcb7 100644 --- a/front-end/h5/src/components/core/support/image-gallery/tabs/pixabay.js +++ b/front-end/h5/src/components/core/support/image-gallery/tabs/pixabay.js @@ -58,7 +58,7 @@ export default { grid={{ gutter: 12, column: this.isVertial ? 4 : 3 }} dataSource={this.items} renderItem={(item, index) => ( - { + { this.$emit('changeItem', item) }}>