# openNativeSystemSetting ^7.10
打开指定的系统设置
# 请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
param | Object | N | {}属性: setting:{Type: String, Default: N/A, Description: 系统设置项( bluetooth 蓝牙设置,notification 通知, permission 权限)} | 请求参数 |
# 接口调用示例
// 无入参
this.$bridge
.openNativeSystemSetting()
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
// 有入参
let params = {
setting: 'bluetooth' // bluetooth,notification,permission可选
}
this.$bridge
.openNativeSystemSetting(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 接口返回示例
N/A
1
2
3
2
3