this._iScroll = new IScroll(this._$clipLayer, {
preventDefault: false, // 添加这个
zoom: true,
scrollX: true,
scrollY: true,
freeScroll: true,
mouseWheel: true,
disablePointer: true, // important to disable the pointer events that causes the issues
disableTouch: false, // false if you want the slider to be usable with touch devices
disableMouse: false, // false if you want the slider to be usable with a mouse (desktop)
wheelAction: 'zoom',
bounceTime: 300
});
修改源码,在iScroll添加 配置