getNetworkStatus

getNetworkStatus

  • 接口描述:
    • 获取当前设备网络信息
  • 调用方式:
this.$bridge
    .getNetworkStatus()
    .then(res => {
      this.$alert(res)
    })
    .catch(err => {
      // 错误处理
      this.$toast(err)
    })
  • 返回描述:
Prop Type Default Description
status Number 0/1 状态码:0 不可用 /1 可用
type String 0/1 是否为wireless network连接:0 非wireless network /1 wireless network
posted on 2024-12-16 09:43  AtlasLapetos  阅读(23)  评论(0)    收藏  举报