摘要: 问题描述 js处理长整形 精度问题有什么好的解决方式吗alert(10214734953631045); alert(10214734953631046);输出分别是1021473495363104410214734953631046后端数据中有大量的数据都是涉及到长整形的数据服务端的数据本来就保存 阅读全文
posted @ 2018-08-29 14:15 米虫的小圈子 阅读(501) 评论(0) 推荐(0) 编辑
摘要: function isIphoneX(){ return /iphone/gi.test(navigator.userAgent) && (screen.height == 812 && screen.width == 375) } 阅读全文
posted @ 2018-08-29 09:40 米虫的小圈子 阅读(2798) 评论(0) 推荐(0) 编辑