放飞自我 LET DREAMS FLY

2018年12月7日 #

检查网络状态

摘要: navigator.onLine 检查网络状态的方法返回true or false if(navigator.onLine){ console.log("链接到网络") return true }else{ console.log("当前网络无链接") return... 阅读全文

posted @ 2018-12-07 09:36 niuben 阅读(250) 评论(0) 推荐(0) 编辑

导航