# getNetworkStatus

获取当前设备网络信息

# 接口调用示例


this.$bridge
    .getNetworkStatus()
    .then(res => {    
    this.$alert(res)
    })
    .catch(err => {
    this.$toast(err)
    })
1
2
3
4
5
6
7
8
9

# 返回参数

Prop Type Default Description
status Number 0/1 状态码:0 不可用 /1 可用
type String 0/1 是否为wireless network连接:0 非wireless network /1 wireless network
Last Updated: 10/27/2022, 9:38:19 AM