Commit 95f2ae07 authored by 高晓帆's avatar 高晓帆

fix

parent 1dca4515
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -49,7 +49,7 @@ let resetTime = null
let obstaclePolygons = []
let dynamicPaths = []
const reNavigateTime = 10 * 1000
const reNavigateTime = 2.5 * 1000
const props = defineProps({
isShowBasic: Boolean,
......@@ -128,6 +128,7 @@ onMounted(() => {
if (!currentPosition) return
if (f.isZooming || f.isDragging) {
navigate.value = false
clearTimeout(resetTime)
resetTime = window.setTimeout(() => {
if (!navigate.value) {
navigate.value = true
......
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