Home > @elux/react-taro > urlToLocation

urlToLocation() function

Url转换为Location

Signature:

export declare function urlToLocation(url: string, state: any): Location;

Parameters

ParameterTypeDescription
urlstring
stateany

Returns:

Location