Authored by 沈志敏

禁止滑动

... ... @@ -785,6 +785,11 @@
if ($.CF.compareStrings(apo.setting.mode, "datetime") && apo.tmp.sDateTimeMode === "datetime")
apo._setDateTimeTabs(apo.tmp.sDateTimeTab);
// 覆盖层出现时阻止滚动
$(window).on($.AnyPicker.extra.sMoveEv, function(e) {
e.preventDefault();
})
},
_hidePicker: function() {
... ... @@ -820,6 +825,9 @@
if ($.CF.isValid(apo.setting.onHidePicker))
apo.setting.onHidePicker.call(apo);
// 覆盖层出现时阻止滚动
$(window).off($.AnyPicker.extra.sMoveEv);
}
},
... ...