上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页
摘要: 方案1: 方案2: 方案3: 阅读全文
posted @ 2020-05-17 19:43 expworld 阅读(155) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function(){ //彩铃逻辑 // console.log($(".ringstone_audio").length) if($(".ringstone_audio").length>0){//online_id:3400 var ringstone_au 阅读全文
posted @ 2020-05-12 17:01 expworld 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 阿里云oss文档:https://help.aliyun.com/knowledge_detail/31926.html https://help.aliyun.com/document_detail/31927.html 依赖文件: plupload.full.min.js aliOssUploa 阅读全文
posted @ 2020-05-12 16:17 expworld 阅读(1450) 评论(0) 推荐(0) 编辑
摘要: 在安卓没问题,在pc没问题,在ios出幺蛾子~! 原因是"2020-02-16 00:00:00"无法被ios浏览器中识别,使用new Date(str)来正确生成日期对象的。 正确的用法是' 2017/09/01 15:16:16'。 var timestart = new Date(Date.p 阅读全文
posted @ 2020-05-12 15:15 expworld 阅读(407) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/frontend_frank/article/details/105852475 阅读全文
posted @ 2020-05-07 12:47 expworld 阅读(381) 评论(0) 推荐(0) 编辑
摘要: ec-sdk.js // 基于window.onerror 收集前端错误信息 window.onerror = function(message, url, line) { if (!url) return; var msg = {}; //记录客户端环境 msg.ua = window.navig 阅读全文
posted @ 2020-05-06 18:02 expworld 阅读(430) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-05-06 17:33 expworld 阅读(1099) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-05-06 17:31 expworld 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 1、为什么要处理异常? 增强用户体验; 远程定位问题,未雨绸缪,及早发现问题及早处理; 无法复现问题,尤其是移动端,可以查找日志; 收集错误产生的系统信息,如浏览器,机型等; 完善的前端方案,前端监控系统; 对于 JS 而言,我们面对的仅仅只是异常,异常的出现不会直接导致 JS 引擎崩溃,最多只会使 阅读全文
posted @ 2020-05-06 16:36 expworld 阅读(1096) 评论(0) 推荐(0) 编辑
摘要: promise基础用法 const a = 1,b=2; //promise基础用法 const laopo = new Promise((resolve,reject)=>{ if(a == 2){ resolve(a); }else{ reject(a-1); } }) laopo.then(r 阅读全文
posted @ 2020-05-06 11:57 expworld 阅读(128) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页