该浏览器不支持canvas
摘要: 很高兴能认识各位,本人水平有限,文章中的不足之处,希望大家不吝赐教 我的邮箱是shinymoon@aliyun.com 微信clearsummerday 联系时烦请备注一哈 如果能留言一下我会很开心的qwq // ┏ ┛┻━━━┛┻┓ // ┃ ┃ // ┃ ━ ┃ // ┃ ┳┛ ┗┳ ┃ // 阅读全文
posted @ 2018-08-01 22:07 真是啰嗦 阅读(244) 评论(3) 推荐(0)
摘要: 一面面试官是个阳光小哥哥,看上去很有亲切感 问题如下: 讲一下TCP为什么比UDP安全的多(TCP 头部、状态机、ARQ 协议、滑动窗口、拥塞处理) 强制缓存和协商缓存 讲一下浏览器渲染的过程,生成渲染树以后是先GPU 绘制还是先合成图层?(先GPU绘制)讲一下async和defer的作用(我def 阅读全文
posted @ 2021-06-19 23:20 真是啰嗦 阅读(790) 评论(0) 推荐(0)
摘要: var axios = require("axios") var cheerio = require("cheerio") var xlsx = require('node-xlsx'); var fs = require('fs'); var userAgentPool = [ 'Mozilla/ 阅读全文
posted @ 2021-05-16 20:12 真是啰嗦 阅读(688) 评论(0) 推荐(0)
摘要: uni-app父组件使用flex,子组件width使用rpx会出现bug,该bug会直接导致1rpx = 0.5px,只能通过在子组件中使用flex: 1来解决 阅读全文
posted @ 2021-05-05 00:02 真是啰嗦 阅读(419) 评论(0) 推荐(0)
摘要: 浏览器工作流程『从输入 URL 到页面展示』学习笔记 导航 用户输入 1. 用户在地址栏按下回车,检查输入(关键字 or 符合 URL 规则),组装完整 URL;2. 回车前,当前页面执行 onbeforeunload 事件;3. 浏览器进入加载状态。 URL 请求 1. 浏览器进程通过 IPC 把 阅读全文
posted @ 2021-04-06 15:20 真是啰嗦 阅读(71) 评论(0) 推荐(0)
摘要: /deep/深度选择器,需加scoped标志 https://www.lervor.com/archives/114/ 阅读全文
posted @ 2021-02-19 01:25 真是啰嗦 阅读(115) 评论(0) 推荐(0)
摘要: 直接放在对应css块里:scrollbar-width: none; /* firefox */-ms-overflow-style: none; /* IE 10+ */ 伪类:/* Chrome Safari */::-webkit-scrollbar{ display: none;} 阅读全文
posted @ 2020-12-19 00:05 真是啰嗦 阅读(123) 评论(0) 推荐(0)
摘要: (选定dom元素).scrollIntoView(true); 比如document.getElementById('div1').scrollIntoView(true); 阅读全文
posted @ 2020-12-04 01:47 真是啰嗦 阅读(245) 评论(0) 推荐(0)
摘要: <template> <div> <div class="gauge-chart" ref="gaugechart"></div> </div> </template> <script> export default { name: "GaugeChart", data() { return { } 阅读全文
posted @ 2020-11-30 22:56 真是啰嗦 阅读(849) 评论(0) 推荐(0)
摘要: <template> <div class="sp-div"> <input class="sp-input" type="text" v-model="value" placeholder="Enter something..." /> <div class="sp-btn" @click="em 阅读全文
posted @ 2020-10-31 22:36 真是啰嗦 阅读(397) 评论(0) 推荐(0)
摘要: 简单版: function MyPromise(exec) { const that = this; that.state = 'PENDING'; that.value = null; that.resolvedCallbacks = []; that.rejectedCallbacks = [] 阅读全文
posted @ 2020-09-08 21:51 真是啰嗦 阅读(236) 评论(0) 推荐(0)