map组件marker模拟机和部分真机点击事件没问题,部分真机没反应?
发布于 4 年前 作者 xiuyinghuang 7849 次浏览 来自 官方Issues

模拟器点击气泡-事件执行-下方出现标记详细信息

部分手机测试也没问题

但是部分手机就没反应了?怎么点击都没用。。。。

代码

  bindmarkertap:function(e){

    console.log(e)

    var that = this

    var id = String(e.detail.markerId)

    const db = wx.cloud.database()

    db.collection(‘list’).where({

    _id:id

    }).get({

      success:function(res){

        console.log(res.data)

        that.setData({

          shuzu:res.data

        })

      }

    })

  },

1 回复

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

回到顶部