openNativeSystemSetting 打开指定的系统设置

openNativeSystemSetting ^7.10

打开指定的系统设置

#请求参数

Prop Type Required Default Description
param String N notification, bluetooth, permission 参数可选 请求参数,ios无入参,android入参可选

#接口调用示例

// ios无入参,android入参可选

this.$bridge
  .openNativeSystemSetting()
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })

// 或者

let params = 'notification'
this.$bridge
  .openNativeSystemSetting(params)
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })

#接口返回示例

N/A
posted on 2024-12-16 09:43  AtlasLapetos  阅读(18)  评论(0)    收藏  举报