# checkNetwork

此方法用于检查当前是否有网络

# 代码演示

  • callback 判断有网络后的回调
import {checkNetwork} from 'm-miniCommonSDK/index'

checkNetwork(callback)