您的位置: 首页 > IT文章 > 判断当前的网络状态 判断当前的网络状态 分类: IT文章 • 2022-05-08 16:10:52 使用 window.navigator.onLine 当返回false时说明当前无网络,返回true时说明当前网络正常