收藏
回答

获取二维码

Page({
  onLoad: function(options) {    // options 中的 scene 需要使用 decodeURIComponent 才能获取到生成二维码时传入的 scene
    var scene = decodeURIComponent(options.scene)
  }
})

这个只能发布才能测试吗

回答关注问题邀请回答
收藏
登录 后发表内容