为什么用设置屏幕亮度的在手机上总是报错说not undefined???
wx.setScreenBrightness({
value: “1.0”,
success: function (res) {
console.log(res);
console.log(“success”);
},
fail: function () {
console.log(“fail”);
}
})
wx.setScreenBrightness({
value: “1.0”,
success: function (res) {
console.log(res);
console.log(“success”);
},
fail: function () {
console.log(“fail”);
}
})