摘要: localStorage存储数组时需要先使用JSON.stringify()转成字符串,取的时候再字符串转数组JSON.parse()。 可以在控制台验证: 阅读全文
posted @ 2019-05-28 17:41 米饭!大米饭 阅读(6090) 评论(0) 推荐(0) 编辑