From f003baa36d703e58d56d26fd679622688f01fe24 Mon Sep 17 00:00:00 2001 From: qubiaobiao <3294694717@qq.com> Date: Mon, 4 Mar 2024 17:08:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=82=B9=E5=87=BB=E5=9C=B0?= =?UTF-8?q?=E7=82=B9=E6=A0=87=E7=82=B9=EF=BC=8C=E5=BC=B9=E5=87=BA=E5=9C=B0?= =?UTF-8?q?=E7=82=B9=E4=BF=A1=E6=81=AF=E5=BC=B9=E7=AA=97=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/LandMarkShow.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/LandMarkShow.vue b/src/components/LandMarkShow.vue index ac9a9b4..9e9fa0f 100644 --- a/src/components/LandMarkShow.vue +++ b/src/components/LandMarkShow.vue @@ -51,13 +51,13 @@ const adaptive = (imgId) => { let newImg; setTimeout(() => { newImg = document.getElementById(imgId); - }, 5); + }, 10); setTimeout(() => { let newWidth = window.getComputedStyle(newImg, null)["width"]; let newMargin = window.getComputedStyle(newImg, null).marginLeft; describesShow.value = `width:${newWidth};left:${newMargin};${judgmentDown.value}`; brieflyShow.value = `width:${newWidth};left:${newMargin};${judgmentUp.value}`; - }, 10); + }, 20); } watch(() => LandMarkShow.boxShow, (newValue, oldValue) => {