Home > mp > useSceneParams
获取场景参数。
Signature:
export declare function useSceneParams<T extends Record<any, any> = Record<any, any>>(parser?: GetSceneParamsParser<T>): T;
Parameter | Type | Description |
---|---|---|
parser | GetSceneParamsParser<T> | 解析器 |
Returns:
T