放飞自我 LET DREAMS FLY

12 2018 档案

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

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

导航

点击右上角即可分享
微信分享提示