会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
expworld
天天向上
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
25
下一页
2020年5月17日
docker方案
摘要: 方案1: 方案2: 方案3:
阅读全文
posted @ 2020-05-17 19:43 expworld
阅读(162)
评论(0)
推荐(0)
2020年5月12日
前端音频播放与暂停deom
摘要: $(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
阅读(472)
评论(0)
推荐(0)
前端进行服务端签名后直传oss
摘要: 阿里云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
阅读(1469)
评论(0)
推荐(0)
console.log(new Date("2020-02-16 00:00:00"))在ios浏览器输出undefined问题
摘要: 在安卓没问题,在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
阅读(436)
评论(0)
推荐(0)
2020年5月7日
长列表无线滚动方案
摘要: https://blog.csdn.net/frontend_frank/article/details/105852475
阅读全文
posted @ 2020-05-07 12:47 expworld
阅读(398)
评论(0)
推荐(0)
2020年5月6日
【sdk封装】前端错误日志采集
摘要: 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
阅读(461)
评论(0)
推荐(0)
window.onerror用法
摘要: <!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
阅读(1128)
评论(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
阅读(424)
评论(0)
推荐(0)
【前端链路监控】前端错误日志收集
摘要: 1、为什么要处理异常? 增强用户体验; 远程定位问题,未雨绸缪,及早发现问题及早处理; 无法复现问题,尤其是移动端,可以查找日志; 收集错误产生的系统信息,如浏览器,机型等; 完善的前端方案,前端监控系统; 对于 JS 而言,我们面对的仅仅只是异常,异常的出现不会直接导致 JS 引擎崩溃,最多只会使
阅读全文
posted @ 2020-05-06 16:36 expworld
阅读(1225)
评论(0)
推荐(0)
promise-api
摘要: 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
阅读(137)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
25
下一页
公告