收藏
回答

boundingClientRect 安卓机不走回调

const query = wx.createSelectorQuery()

const aq = query.select('#mychart-dom-line')

aq.boundingClientRect(function(rect){

debugger

})

query.exec()


这段代码 IOS 能进入 debugger 但是安卓却不进,请问是什么情况

回答关注问题邀请回答
收藏

1 个回答

  • 是小白啊
    是小白啊
    2019-06-18

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

    2019-06-18
    有用
    回复 1
    • ゛
      2019-06-19

      const query = wx.createSelectorQuery().in(this)就可以了,就是不明白为何

      2019-06-19
      回复
登录 后发表内容