新增点击地点标点,弹出地点信息弹窗功能

master
qubiaobiao 2024-03-04 17:08:47 +08:00
parent 4f3116c081
commit f003baa36d
1 changed files with 2 additions and 2 deletions

View File

@ -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) => {