摘要: let year = new Date().getFullYear(); let month = (new Date().getMonth() + 1) < 10 ? '0'+(new Date().getMonth()+1): new Date().getMonth()+1; let day = 阅读全文
posted @ 2019-11-05 16:34 N土豆鸡块 阅读(121) 评论(0) 推荐(0) 编辑
摘要: connection = navigator.connection || navigator.mozConnection || navigator.webkitConnection;根据connection.type判断网络类型,connection.type有以下几种类型: bluetooth / 阅读全文
posted @ 2019-07-12 14:16 N土豆鸡块 阅读(1572) 评论(0) 推荐(0) 编辑