9***@qq.com
9***@qq.com
  • 发布:2024-01-25 10:54
  • 更新:2024-04-28 08:47
  • 阅读:84

【报Bug】map markers在Android手机上markertap事件无法触发

分类:uni-app

产品分类: uniapp/小程序/微信

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win11

HBuilderX类型: 正式

HBuilderX版本号: 3.99

第三方开发者工具版本号: 3.3.1

基础库版本号: 1.8.5

项目创建方式: HBuilderX

示例代码:

<map id="map" ref="map" class="w-p-100 flex-1" :longitude="longitude" :latitude="latitude" @regionchange="onMapChange"
style="height: 96vh;" :markers="allMarker" @markertap="markertap" scale="12" ></map>

操作步骤:
markertap(e){  
            console.log("电极丝",e)  
            this.choseStance=this.list[e.markerId];  
            this.latitude=this.list[e.markerId].latitude;  
            this.longitude=this.list[e.markerId].longitude;  
        },

预期结果:

会触发事件,打印console.log("电极丝",e)

实际结果:

在Android端无响应

bug描述:

map markers在Android手机上的微信小程序端markertap事件无法触发,在ios手机上微信小程序端可以正常触发markertap事件

2024-01-25 10:54 负责人:无 分享
已邀请:
Azikou

Azikou

大佬们,不要搞uts了。。把现有的问题帮忙修一修吧

要回复问题请先登录注册