【前端开发】localStorage的用法
localStorage.setItem("name","value") //存储name的值
var type = localStorage.getItem("name"); //取存储的name值
console.log(type) //value
本文来自博客园,作者:JeckHui;
个人主页:前端实用站点推荐; 热榜资讯早读:热榜资讯-导航;
转载请注明原文链接:https://www.cnblogs.com/xiaohuizhang/p/8962232.html