Skip to content

Commit

Permalink
fix: 滚动函数修改 fix DXY-F2E#21
Browse files Browse the repository at this point in the history
  • Loading branch information
majinbo committed Dec 4, 2018
1 parent b7f9852 commit 654aa4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/directive/scroll.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function scrollIntoView (el, isScroll) {
if (!isScroll) return
el.scrollIntoView()
el.scrollIntoViewIfNeeded()
}

export default {
Expand Down

0 comments on commit 654aa4a

Please sign in to comment.