Skip to content

Commit

Permalink
update:readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyi7099 committed Jan 22, 2018
1 parent ebd4320 commit ef145f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,9 @@ <h2>by wangyi7099 under MIT <a href="https://github.com/wangyi7099/vuescroll">Gi
},
mounted() {
this.windowInnerheight = window.innerHeight + 'px';
this.windowInnerwidh = window.innerWidth + 'px';
if(window.innerWidth < 500) {
this.windowInnerwidh = window.innerWidth + 'px';
}
}
});
</script>
Expand Down

0 comments on commit ef145f8

Please sign in to comment.