摘要:
localStorage 和 sessionStorage 的区别主要在于其生命周期 localStorage 相同的协议,主机名,端口,可以读取到localStorage数据 sessionStorage: 相同的协议,主机名,端口,窗口(浏览器的标签页是否是同一个) 阅读全文
摘要:
git init git status git commit -m'info' git commit --amend git push git pull git merge git reset --soft commitid git reflag git rebase git pull --reba 阅读全文
摘要:
缓存 add_header Cache-Control no-cache; 跨域 add_header Access-Control-Allow-Origin *; 阅读全文
摘要:
不打开控制台,页面无展示,打开页面才能执行,因为打开控制台才有console https://blog.csdn.net/weixin_36212732/article/details/115975604 阅读全文
摘要:
ie8 、ie9跨域使用XDomainRequest XDomainRequest 是在 Internet Explorer 8 和 9 中,使用 HTTP 访问控制(CORS)的实现。它在 Internet Explorer 10 中已被删除,应改为使用 XMLHttpRequest 以及配置相应 阅读全文
摘要:
将js文件夹及其中的内容移动到dist目录下,执行命令之后dist/js/... mv ./js ./dist 将js下的文件都移动到dist目录下(比如js下面有1.js), 命令执行完之后为dist/1.js mv ./js/* ./dist 阅读全文
摘要:
wget -O 本地文件名 下载地址 阅读全文
摘要:
Unicode: Unicode 是一种字符集标准,用于对来自世界上不同语言、文字系统和符号进行编号和字符定义。通过给每个字符分配一个编号,程序员可以创建字符编码,让计算机在同一个文件或程序中存储、处理和传输任何语言组合。 字符集: 是一种让计算机知道如何识别 Character 的编码系统,这些字 阅读全文
摘要:
Unhandled promise rejection错误解决 https://blog.csdn.net/baidu_36095053/article/details/125869396 使用了corejs的promise之后,会加载corejs的pollfill ,全局处理设置promise.p 阅读全文
摘要:
(plugin babel) Error: You have declared using "bundled" babelHelpers, but transforming resulted in "runtime". Please check your configuration. https:/ 阅读全文