小程序使用wx.scanCode 接口 在android 手机上 第二次不能扫码

发布于 7 年前作者 fcheng3124 次浏览最后编辑 7 年前来自 ask

scancode: function () {

    var self = this;

    wx.scanCode({

      success: function (res) {

  self.scancode()

      }

    })

  },

1 回复
jie70
jie701 楼5 年前

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