chrome console清本地缓存localStorage.clear()

批量清:

 localStorage.clear();


单独清除某个记录的缓存:

localStorage.clear("popup_info")  或 localStorage.removeItem("popup_info"); 

你可能感兴趣的:(很菜的前端小点)