wangcc 2 лет назад
Родитель
Сommit
cbb763ec69
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/components/amapnow.vue

+ 2 - 1
src/components/amapnow.vue

@@ -955,7 +955,8 @@ export default {
                 position: lnglat,
                 position: lnglat,
                 offset: new AMap.Pixel(0, -30),
                 offset: new AMap.Pixel(0, -30),
                 icon: infoIcon,
                 icon: infoIcon,
-                zIndex: 999
+                zIndex: 999,
+                topWhenClick: true
               });
               });
               projectMarker.setLabel({
               projectMarker.setLabel({
                 direction: 'top',
                 direction: 'top',