Skip to content

Commit

Permalink
fix: pick image from pixabay gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
ly525 committed Oct 26, 2019
1 parent 40bc3c8 commit 8adfef6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default {
this.handleSelectImage(item)
}}/>
case 'pixabay':
return <PixabayTab onChange={item => {
return <PixabayTab onChangeItem={item => {
this.handleSelectImage(item)
}}/>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default {
grid={{ gutter: 12, column: this.isVertial ? 4 : 3 }}
dataSource={this.items}
renderItem={(item, index) => (
<a-list-item onClick={item => {
<a-list-item onClick={(event /** mouseEvent */) => {
this.$emit('changeItem', item)
}}>
<ImageItem item={item} height={this.isVertial ? 240 : 142 } />
Expand Down

0 comments on commit 8adfef6

Please sign in to comment.