udate img

This commit is contained in:
qianguyihao
2018-10-02 22:10:26 +08:00
parent 26653bee3f
commit e48bcf4eac
53 changed files with 1664 additions and 2231 deletions

View File

@@ -29,6 +29,29 @@ whistle安装证书后可以拦截 https 请求。但是,我现在又不想
## 移动端调试神器:eruda
> 手机连接代理时如何看console.log的日志信息?
> 现在代码里有console.log如果是在电脑浏览器上看可以直接在控制台查看console.log的内容。但是如果手机连接代理在手机上打开网页的话要怎么查看console.log的内容呢具体做法如下
1在 whistle中新建一个名叫`Eruda H5`的代理,代理中的内容是:
```
http://xxx.com htmlAppend://{eruda.html}
```
(2)新建一个values里面的内容是
```html
<script src="//cdn.bootcss.com/eruda/1.4.3/eruda.min.js"></script>
<script>
eruda.init()
</script>
```
然后就OK了。