Commit cd2dc6b8 authored by 张泽丹's avatar 张泽丹 💻

fix:拖动条响应缓慢导致无法停止拖动问题

parent 4d805ae0
...@@ -103,6 +103,7 @@ export default { ...@@ -103,6 +103,7 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
setTimeout(() => { setTimeout(() => {
frame.contentWindow.document.body.onmousemove = this.$parent.move frame.contentWindow.document.body.onmousemove = this.$parent.move
frame.contentWindow.document.body.onmouseup = this.$parent.stopMove
let map = null let map = null
switch (this.language) { switch (this.language) {
case 'leaflet': case 'leaflet':
......
...@@ -97,7 +97,6 @@ export default { ...@@ -97,7 +97,6 @@ export default {
height: 100%; height: 100%;
background-color: #333; background-color: #333;
cursor: move; cursor: move;
transition: .3s;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment