Skip to content

Commit

Permalink
chore(scroll): fix example bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tank0317 committed Oct 15, 2018
1 parent 7676bc4 commit 02177f3
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 02177f3

Please sign in to comment.