mode_edit codeAPI / @angular/httpJSONPBackendlinkinterface 已弃用A ConnectionBackendthat uses the JSONP strategy of making requests.弃用说明linksee https://angular.io/guide/httpinterface JSONPBackend extends ConnectionBackend { createConnection(request: Request): JSONPConnection // 继承自 http/ConnectionBackend abstract createConnection(request: any): Connection }方法linkcreateConnection() linkmode_edit codecreateConnection(request: Request): JSONPConnection参数requestType: Request.返回值JSONPConnection