上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
摘要: 页面报错: An internal server error occurred 找问题: 拿分享出去的网址和能正常访问的网址对比,发现从微信分享出去的URl多了几个参数,导致页面加载失败 找原因 微信分享会根据分享的不同,为原始链接拼接如下参数: 朋友圈 from=timeline&isappins 阅读全文
posted @ 2018-07-09 09:54 boyanh 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 在BUG分支下创建分支 1.切换到bus分支 2,创建新分支 git checkout -b bugfix/fix_vedio_0627 3,把创建的分支push到远程分支 git push origin bugfix/fix_vedio_0627 4.在创建的bugfix/fix_vedio_06 阅读全文
posted @ 2018-07-07 08:26 boyanh 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 频繁更换样式,会导致样式缓存, 在实际项目开发过过程中,页面是上传到服务器上的。而为了减少服务器的压力,让用户少加载,浏览器会将图片、css、js缓存到本地中,以便下次访问网站时使用。这样做不仅减少了服务器的压力,并且也减少了用户的下载次数,获得更好的用户体验。 然而在版本升级或做一些css、js等 阅读全文
posted @ 2018-07-07 07:19 boyanh 阅读(1161) 评论(0) 推荐(0) 编辑
摘要: https里引用http不安全,会报错 解决方案 1.可以部署在http中,http中引用https不会存在安全问题报错 2.https中引用https,把需要引用的http部署成https 阅读全文
posted @ 2018-07-07 07:10 boyanh 阅读(3451) 评论(0) 推荐(0) 编辑
摘要: 1 function Base64() { 2 3 // private property 4 var _keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; 5 6 // public method for encoding 7 this... 阅读全文
posted @ 2018-07-02 21:28 boyanh 阅读(3591) 评论(0) 推荐(0) 编辑
摘要: 后台传过来的值需要根据content-Type的值来判定成功与否 获取header中content-Tyep的值 用res.header['Content-Type'] 阅读全文
posted @ 2018-07-02 21:24 boyanh 阅读(686) 评论(0) 推荐(0) 编辑
摘要: 平时用的最多的无外乎POST GET 很少用的HEAD 这次HEAD请求使用场景:判断资源是否存在 阅读全文
posted @ 2018-06-22 15:02 boyanh 阅读(1097) 评论(0) 推荐(0) 编辑
摘要: <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1, minimum-scale=1"> <script type="text/javascript"> document.document 阅读全文
posted @ 2018-06-19 16:12 boyanh 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 安装淘宝npm(cnpm) 1.安装cnpm (1)输入以下命令 1 npm install -g cnpm --registry=https://registry.npm.taobao.org 1 npm install -g cnpm --registry=https://registry.np 阅读全文
posted @ 2018-06-14 15:51 boyanh 阅读(179) 评论(0) 推荐(0) 编辑
摘要: https://github.com/Tencent/weui-wxss 用微信web开发者工具打开dist目录(请注意,是dist目录,不是整个项目) 阅读全文
posted @ 2018-06-14 15:01 boyanh 阅读(903) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页