提交 f3477d38 编写于 作者: 杜庆泉's avatar 杜庆泉

适配number 规则

上级 7bf53618
...@@ -378,7 +378,7 @@ export function startWifi(option : WifiOption) { ...@@ -378,7 +378,7 @@ export function startWifi(option : WifiOption) {
// 检查权限 // 检查权限
if (ActivityCompat.checkSelfPermission(UTSAndroid.getUniActivity()!, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) { if (ActivityCompat.checkSelfPermission(UTSAndroid.getUniActivity()!, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
ActivityCompat.requestPermissions(UTSAndroid.getUniActivity()!, permissionWifi, requestCode) ActivityCompat.requestPermissions(UTSAndroid.getUniActivity()!, permissionWifi, requestCode.toInt())
// 尚不具备权限,返回错误 // 尚不具备权限,返回错误
option.fail?.(result) option.fail?.(result)
option.complete?.(result) option.complete?.(result)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册