使用wx.chooseImage 使用相机 部分机型无法唤起闪光灯 ?

发布于 6 年前作者 guiyingli6465 次浏览最后编辑 6 年前来自 issues
    wx.chooseImage({
      count: 1,
      sizeType: ['compressed'], //可选择原图或压缩后的图片
      sourceType: ['camera'], //可选择性开放访问相册、相机
      success: res => {
        const images = res.tempFilePaths
        this.setData({
          images: images
        })      }

以华为为主
3 回复
xiongjing
xiongjing1 楼5 年前

你好,请在复现问题后在手机微信上传日志: 我->设置->帮助与反馈右上角有个上报日志的入口,提供出现问题的微信号,出现问题的时间点(具体到分钟)

chao89
chao892 楼5 年前

部分机型和版本号

yuanjun
yuanjun3 楼4 年前

华为啊,呵呵,号称前端之敌