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

Storage.removeItem

功能说明

从移动应用的本地存储中删除对应于特定键的项目。

类型

Storage.removeItem(key: string): Promise<void>;

Params

  • key: string — 要删除的键。

Response

示例代码

JavaScript

import { Storage } from "@apps-in-toss/web-framework";

await Storage.removeItem("my-key");

这有帮助吗?