摘要:
function uuid() { const s = []; const hexDigits = "0123456789abcdef"; for (let i = 0; i < 36; i++) { s[i] = hexDigits.substr(Math.floor(Math.random() 阅读全文
posted @ 2019-10-26 08:32
香草馥
阅读(557)
评论(0)
推荐(0)
摘要:
一.简介 localStorage会可以将第一次请求的数据直接存储到本地,这个相当于一个5M大小的针对于前端页面的数据库 ——注意:在IE8以上的IE版本才支持localStorage这个属性。localStorage属于永久性存储,如果存储内容多的话会消耗内存空间,会导致页面变卡。 二.具体使用方 阅读全文
posted @ 2019-10-26 08:16
香草馥
阅读(44151)
评论(0)
推荐(3)

浙公网安备 33010602011771号