摘要: 获取本地存储数据: const todos=JSON.parse ( window.localStorage.getItem"todos" ) 知识点1: JSON.parse() 方法用于将一个 JSON 字符串转换为对象。 修改本地存储数据: window.localStorage.setIte 阅读全文
posted @ 2018-10-11 16:50 LemonTeaQueen 阅读(486) 评论(0) 推荐(0)