You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iSlider.plugin.zoompic.js?9af6:285 Uncaught TypeError: Cannot read property 'pageX' of undefined
at handleDoubleTap (iSlider.plugin.zoompic.js?9af6:285)
at iSlider.endHandler (iSlider.plugin.zoompic.js?9af6:314)
at iSliderPrototype.handleEvent (iSlider.js?c3de:1183)
这一段代码
/**
* Double tao handle
* @param {object} evt
*/
function handleDoubleTap(evt) {
var zoomFactor = zoomFactor || 2;
var node = zoomNode;
var pos = getPosition(node);
currentScale = currentScale == 1 ? zoomFactor : 1;
node.style.webkitTransform = generateTranslate(0, 0, 0, currentScale);
if (currentScale != 1) node.style.webkitTransformOrigin = generateTransformOrigin(evt.touches[0].pageX - pos.left, evt.touches[0].pageY - pos.top);
}
pageX报错
The text was updated successfully, but these errors were encountered:
iSlider.plugin.zoompic.js?9af6:285 Uncaught TypeError: Cannot read property 'pageX' of undefined
at handleDoubleTap (iSlider.plugin.zoompic.js?9af6:285)
at iSlider.endHandler (iSlider.plugin.zoompic.js?9af6:314)
at iSliderPrototype.handleEvent (iSlider.js?c3de:1183)
这一段代码
/**
* Double tao handle
* @param {object} evt
*/
function handleDoubleTap(evt) {
var zoomFactor = zoomFactor || 2;
var node = zoomNode;
var pos = getPosition(node);
currentScale = currentScale == 1 ? zoomFactor : 1;
node.style.webkitTransform = generateTranslate(0, 0, 0, currentScale);
if (currentScale != 1) node.style.webkitTransformOrigin = generateTransformOrigin(evt.touches[0].pageX - pos.left, evt.touches[0].pageY - pos.top);
}
pageX报错
The text was updated successfully, but these errors were encountered: