跳到主要内容

IDP.Storage.Design.getItemAsync() function

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

Signature:

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

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

Parameters

Parameter

Type

Description

key

string

Returns:

Promise<Record<string, any> | undefined>