连接MySQL报错:Client does not support authentication protocol requested by server
## 在使用nodejs连接MySQL报错:
Client does not support authentication protocol requested by server; consider upgrading MySQL client
大概意思是:客户端不支持服务器请求的身份验证协议;考虑升级MySQL客户端
## 在使用nodejs连接MySQL报错:
Client does not support authentication protocol requested by server; consider upgrading MySQL client
大概意思是:客户端不支持服务器请求的身份验证协议;考虑升级MySQL客户端
## TCP的位置
TCP工作在网络OSI的七层模型中的第四层——Transport层,IP在第三层——Network层,ARP在第二层——Data Link层;
在第二层上的数据,我们把它叫Frame,在第三层上的数据叫Packet,第四层的数据叫Segment。
## 前言
在mock数据时,http://localhost:8080/#/api/goods 无法访问到数据,经过查询发现是将build目录下的webpack.dev.conf.js文件出问题了
## transition
Vue 提供了 transition 的封装组件,在下列情形中,可以给任何元素和组件添加进入/离开过渡
## 定义
window.devicePixelRatio是设备上物理像素和设备独立像素(device-independent pixels (dips))的比例。
公式表示就是:window.devicePixelRatio = 物理像素 / dips
## 移动端1px变粗的原因
为什么移动端css里面写了1px, 实际看起来比1px粗. 其实原因很好理解:这2个’px’的含义是不一样的. 移动端html的header总会有一句
1 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> |