Skip to content

Commit

Permalink
Merge pull request didi#333 from didi/dev
Browse files Browse the repository at this point in the history
chore(scroll): fix example bug
  • Loading branch information
tank0317 authored Oct 15, 2018
2 parents 7676bc4 + 02177f3 commit 1c221c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/pages/scroll/toutiao.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ export default {
}, 1000)
},
onImgLoad() {
this.$refs.contentScroll.refresh()
const contentScroll = this.$refs.contentScroll
contentScroll.scroll.beforePullDown && contentScroll.refresh()
}
},
mounted() {
Expand Down

0 comments on commit 1c221c2

Please sign in to comment.