复制代码代码如下所示:
设置/设置缓存、缓存、对、名称值
localstorage.getitem(关键); / /得到的核心价值
localstorage.setitem(键1); / /设置关键值