摘要:
页面报错: An internal server error occurred 找问题: 拿分享出去的网址和能正常访问的网址对比,发现从微信分享出去的URl多了几个参数,导致页面加载失败 找原因 微信分享会根据分享的不同,为原始链接拼接如下参数: 朋友圈 from=timeline&isappins 阅读全文
摘要:
在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 阅读全文
摘要:
频繁更换样式,会导致样式缓存, 在实际项目开发过过程中,页面是上传到服务器上的。而为了减少服务器的压力,让用户少加载,浏览器会将图片、css、js缓存到本地中,以便下次访问网站时使用。这样做不仅减少了服务器的压力,并且也减少了用户的下载次数,获得更好的用户体验。 然而在版本升级或做一些css、js等 阅读全文
摘要:
https里引用http不安全,会报错 解决方案 1.可以部署在http中,http中引用https不会存在安全问题报错 2.https中引用https,把需要引用的http部署成https 阅读全文
摘要:
1 function Base64() { 2 3 // private property 4 var _keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; 5 6 // public method for encoding 7 this... 阅读全文
摘要:
后台传过来的值需要根据content-Type的值来判定成功与否 获取header中content-Tyep的值 用res.header['Content-Type'] 阅读全文
摘要:
平时用的最多的无外乎POST GET 很少用的HEAD 这次HEAD请求使用场景:判断资源是否存在 阅读全文
摘要:
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1, minimum-scale=1"> <script type="text/javascript"> document.document 阅读全文