设置缓存值
localStorage.setItem('key','value');
查询
var value=localStorage.getItem('key');
修改
localStorage.setItem('key','value');
删除,某一个
localStorage.removeItem('key');
清楚所有缓存
localStorage.clear();