perf: 修复overview地图变形的问题

This commit is contained in:
chenjinsong
2020-09-11 18:37:14 +08:00
parent 7464e39857
commit 419eb09010
5 changed files with 50 additions and 90 deletions

View File

@@ -81,10 +81,12 @@ if (document.attachEvent) {//ie9-10
ele.__resizeTrigger__ = obj;
obj.__resizeElement__ = ele;
}
handlers.push({
handler: handler,
context: context
});
if (context != "map") {
handlers.push({
handler: handler,
context: context
});
}
};
EleResize.off = function (ele, handler, context) {
var handlers = ele.__z_resizeListeners;