For the complete documentation index, see llms.txt. This page is also available as Markdown.

存储

在移动应用的本地存储中读写字符串数据。

API列表

API
说明

Storage.getItem

从本地存储中获取值

Storage.getItems

一次获取多个值

Storage.setItem

将值保存到本地存储中

Storage.setItems

一次保存多个值

Storage.removeItem

删除特定键的值

Storage.clearItems

删除本地存储中的所有值

这有帮助吗?