跳到主要内容

IStorageItem 接口

interface IStorageItem 

数据存储

属性

key

key: string;

key值,需要唯一

value

value: Record<string, any>;

保存的值,必须是JSON格式,不支持其他类型