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