support ie Mousewheel
This commit is contained in:
parent
b08f5e08d9
commit
a796b2c5b1
1 changed files with 3 additions and 0 deletions
|
@ -547,6 +547,9 @@
|
||||||
if(!deltaY && event.wheelDeltaY){
|
if(!deltaY && event.wheelDeltaY){
|
||||||
deltaY = -event.wheelDeltaY;
|
deltaY = -event.wheelDeltaY;
|
||||||
}
|
}
|
||||||
|
if(!deltaY && event.wheelDelta){
|
||||||
|
deltaY = -event.wheelDelta;
|
||||||
|
}
|
||||||
if(!deltaY) return;
|
if(!deltaY) return;
|
||||||
const body = this.$refs.body;
|
const body = this.$refs.body;
|
||||||
const currentScrollTop = body.scrollTop;
|
const currentScrollTop = body.scrollTop;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue