API > @angular/routermode_edit codeconvertToParamMaplinkfunctionConverts a Params instance to a ParamMap.convertToParamMap(params: Params): ParamMap convertToParamMap(params: Params): ParamMap 参数 params ParamsThe instance to convert.返回值把 Params 实例转换成 ParamMap 实例。ParamMap: The new map instance.