+
80
-

小程序如何清空localstorage数据?

小程序如何清空localstorage数据?我的小程序部分数据缓存在localstorage中,现在需要先清理

网友回复

+
0
-

localStorage.clear();

我知道答案,我要回答