什么场景下用到localstorage?

localstorage使用在菜单栏的时候,将每一个菜单的数据记录下来。

原文地址:https://www.cnblogs.com/duanzhange/p/9293924.html