Skip to content

Utils / objectToSearchString

Function: objectToSearchString()

objectToSearchString(obj: Record<string, any>): string

将对象转换为URL查询字符串

Parameters

ParameterTypeDescription
objRecord<string, any>要转换的对象

Returns

string

生成的查询字符串(不带问号)

MIT Licensed