小程序申请手机麦克风授权,打开授权页面,没有授权麦克风权限选项,导致无法正常授权麦克风
wx.authorize({
scope: "scope.record",
success () {
that.start();
},
fail () {
wx.showModal({
title: "",
content: auth_fail_message,
showCancel: true,
confirmColor: "#034d8a",
confirmText: "去授权",
success: function (res) {
console.log("res:", res);
if (res.confirm) {
wx.openSetting({
success: (e) => {
console.log("授权打开成功", e);
},
fail: (e) => {
console.log("授权打开失败", e);
}
})
}
}
})
}
})
小程序需要申请手机麦克风授权,但是手机打开授权页面,没有授权麦克风权限选项,导致无法正常授权麦克风