js判断网络是否离线

xiaoxiao2025-07-31  8

if(window.navigator.onLine){ alert('网络连接中'); }else{ alert('网络断开中'); }

 

转载请注明原文地址: https://www.6miu.com/read-5034050.html

最新回复(0)