上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 61 下一页
摘要: DOM0级别与DOM2级别是什么 Historically, like DOM, the event models used by various web browsers had some significant differences. This caused compatibility pro 阅读全文
posted @ 2020-06-15 12:33 hh9515 阅读(192) 评论(0) 推荐(0)
摘要: window.onload是页面上所有资源加载完 DOMContentLoaded是HTML被parse完 (如果页面中有一个外引 async script和一个外引css,那么当HTML被parse完,这个事件就被触发了、这个css可能刚开始下载,js也可能刚开始下载) (如果页面中有一个外引 同 阅读全文
posted @ 2020-06-15 11:32 hh9515 阅读(238) 评论(1) 推荐(0)
摘要: 资料: https://www.qinguanghui.com/react/%E6%B5%8F%E8%A7%88%E5%99%A8%E4%B8%80%E5%B8%A7%E9%87%8C%E5%81%9A%E4%BA%86%E4%BB%80%E4%B9%88.html#vue-nexttick-%E4 阅读全文
posted @ 2020-06-12 00:51 hh9515 阅读(153) 评论(0) 推荐(0)
摘要: 处理所有请求结束的时间点 想象操场上有三个赛道,有三个人在跑圈,跑完后会有后面的人接力, 如果结束的时候,就是没有人接力了,当finishround为3的时候,就是最后一个请求结束的时候 阅读全文
posted @ 2020-06-08 19:06 hh9515 阅读(389) 评论(0) 推荐(0)
摘要: 跨域问题是指为了安全,浏览器不允许与当前协议域名端口不同的请求发出ajax请求 xhr请求最早一般用来获取数据然后填充到innerHTML中, 比如如果安全不到位,如果填充了未知来源的script脚本,是可以运行的,拿到你cookie后可能会引发安全问题 form表单的提交post,并不是xhr请求 阅读全文
posted @ 2020-05-24 04:20 hh9515 阅读(1403) 评论(0) 推荐(0)
摘要: " Bluebird author here. V8 promises implementation is written in JavaScript not C. All JavaScript (including V8's own) is compiled to native code. Add 阅读全文
posted @ 2020-05-15 21:52 hh9515 阅读(154) 评论(0) 推荐(0)
摘要: (这一部分叫做 初始化阶段 ,从_init到created钩子间, 后面是模板编译的阶段 模板编译阶段会一直到 beforeMount 然后进入挂载阶段 到Mounted 最后是卸载阶段 ) 阅读全文
posted @ 2020-05-10 14:00 hh9515 阅读(148) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-05-07 23:27 hh9515 阅读(132) 评论(0) 推荐(0)
摘要: 因为vue在initData的时候 function initData(vm){ let data = vm.$options.data data = vm._data = typeof data ‘function’ ? getData(data, vm) : data || {} /* 因为在这 阅读全文
posted @ 2020-04-13 16:57 hh9515 阅读(648) 评论(0) 推荐(0)
摘要: The Chrome DevTools Protocol allows for tools to instrument, inspect, debug and profile Chromium, Chrome and other Blink-based browsers. Many existing 阅读全文
posted @ 2020-04-04 20:54 hh9515 阅读(5310) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 61 下一页