跳到主要内容

IDP.Storage.Enterprise.getItemAsync() 函数

function getItemAsync(key: string): Promise<Record<string, any> | undefined>;

查询单个数据 没有查到则返回undefined

参数:

  • key: string

返回值: Promise<Record<string, any> | undefined>