BInfoWindow 标注点 点击两次 会多次才显示 窗口
Closed this issue · 3 comments
gedaaxiba commented
点击 标注点 第一次 移动到标点位置 , 再次点击标注点 才显示title
<BMap
v-if="isShow_has_data_Map"
:zoom="10"
enableScrollWheelZoom
mapStyleId="ee66c61531e8df3c2fd0374e96e58e81"
style="width: 100%; height: 100%;"
>
<BNavigation3d :offset="{x:130,y:15}" />
<BScale />
<BCityList />
<BLocation />
<BZoom />
<BContextMenu :menuItems="list" />
<BMarker
v-for="(item,index) in deviceMapEffectScatterDataList"
:key="index"
:position="{ lat: item.lat, lng: item.lng }"
icon="location"
@click="() => handleClickMapBMarker(item)"
/>
<BInfoWindow
v-model:show="mapInfoWindow.mapInfoWindowShow"
:offset="{x: 0,y: -10}"
:position="mapInfoWindow.position"
:title="mapInfoWindow.title"
enableAutoPan
enableCloseOnClick
/>
</BMap>
<BMap
v-else
:menuItems="list"
:zoom="10"
enableScrollWheelZoom
mapStyleId="ee66c61531e8df3c2fd0374e96e58e81"
style="width: 100%; height: 100%;"
/>
yue1123 commented
能否提供下完整代码或者在线 playground 链接,只有截图我也看不出来是逻辑错误还是组件本身问题
github-actions commented
This issue is stale because it has been open for 30 days with no activity.
github-actions commented
This issue was closed because it has been inactive for 14 days since being marked as stale.