03 2021 档案

摘要:let lastTime = new Date().getTime()let currentTime = new Date().getTime()let timeOut = 30 * 60 * 1000 //设置超时时间: 30分钟window.onload = function () { wind 阅读全文
posted @ 2021-03-25 13:50 又回到了起点 阅读(190) 评论(0) 推荐(0) 编辑
摘要:const BYTE = 1024, ACCEPT = { image: 'image/jpeg,image/bmp,image/png,image/gif', }, getAccepts = accept => (Array.isArray(accept) ? accept : [accept]) 阅读全文
posted @ 2021-03-17 14:39 又回到了起点 阅读(99) 评论(0) 推荐(0) 编辑
摘要:Math.ceil():表示向上取整;Math.ceil(11.3)=12;Math.ceil(-11.3)=-12。 Math.floor():表示向下取整;Math.floor(11.6)=11;Math.floor(-11.6)=-12。 Math.round():表示四舍五入;Math.ro 阅读全文
posted @ 2021-03-09 13:59 又回到了起点 阅读(150) 评论(0) 推荐(0) 编辑

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