提交 b7c0e274 编写于 作者: X xiaoyucoding

fix: mp-alipay ScreenBrightness

上级 79b2408c
......@@ -346,6 +346,16 @@ const protocols = { // 需要做转换的 API 列表
// 真机的情况下会有 tempFilePath 这个值,因此需要主动修改。
result.tempFilePath = result.apFilePath
}
},
setScreenBrightness: {
args: {
value: 'brightness'
}
},
getScreenBrightness: {
returnValue: {
brightness: 'value'
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册