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

@@ -1321,15 +1321,15 @@
mounted() {
this.initData();
this.initDate();
window.onresize = () => {
/*window.onresize = () => {
setTimeout(() => {
this.$parent.$parent.update();
}, 100);
}
}*/
},
destroyed() {
/*destroyed() {
window.onresize = null;
}
}*/
}
</script>