提交 2532dcc2 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

fix: 修改getsystemsetting示例

上级 bef3eafe
......@@ -62,7 +62,15 @@
this.bluetoothEnabled = (res.bluetoothEnabled ?? false) ? "开启" : "关闭";
this.locationEnabled = res.locationEnabled ? "开启" : "关闭";
this.wifiEnabled = (res.wifiEnabled ?? false) ? "开启" : "关闭";
this.deviceOrientation = res.deviceOrientation
this.deviceOrientation = res.deviceOrientation
if(res.bluetoothError != null){
this.bluetoothEnabled = "无蓝牙权限"
}
if(res.wifiError != null){
this.wifiEnabled = "无WiFi权限"
}
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册