if (plus.networkinfo.getCurrentType() == plus.networkinfo.CONNECTION_NONE) {
alert("网络异常,请检查网络设置!");
}
if (plus.networkinfo.getCurrentType() == plus.networkinfo.CONNECTION_NONE) {
alert("网络异常,请检查网络设置!");
}
转载于:https://my.oschina.net/wenxingjun/blog/1486596