跳到主要内容

方法

提供了一些工具类方法

gid

get global id by type and id, it is used for relay node query.

参数

const gid: (type: string, id: string | number) => string

用例

parseGid

parse gid from base64 string to utf8 string

参数

const parseGid: (gid: string) => string

用例