Skip to content

Commit

Permalink
style: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
yue1123 committed Nov 25, 2024
1 parent a3f055d commit 65a1a57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/components/overlay/infowindow/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
_map = map
const clear = () => {
if (!infoWindow) return
infoWindow.hide();
map.removeOverlay(infoWindow);
infoWindow.hide()
map.removeOverlay(infoWindow)
}
const init = () => {
const { title, width, height, enableAutoPan, maxWidth, offset, enableCloseOnClick } = props
Expand Down Expand Up @@ -105,8 +105,8 @@
nextTick(() => {
open()
nextTick(() => {
if ('_visible' in infoWindow) !infoWindow._visible && (visible.value = false);
else !infoWindow.isOpen() && (visible.value = false);
if ('_visible' in infoWindow) !infoWindow._visible && (visible.value = false)
else !infoWindow.isOpen() && (visible.value = false)
})
})
}
Expand Down

0 comments on commit 65a1a57

Please sign in to comment.