mate 30 关闭屏幕常亮 setKeepScreenOn:fail:has not set ?
华为mate30 真机调试 , 设置关闭屏幕常亮, console.log("reset screen keepScreenOn =false")
wx.setKeepScreenOn({
keepScreenOn: false
})
运行提示 (in promise) MiniProgramError {"errMsg":"setKeepScreenOn:fail:has not set screen"}