目前,我正试图为我的put/delete请求向我的每个http(例如{ Id })添加一个id号。我试图提交的put方法是onClickUpdate(),我使用一个Ngfor循环我在edit.component.html中的所有结果,它们都在表单中,但是下面是我的edit.component.ts:'@angular/forms';
import { HttpClient, HttpHeaders } from '@angular/common&
当我尝试执行ng build时,我得到一个错误消息: ERROR in node_modules/@angular/common/http/http.d.ts:81:22 - error NG6002This likely means that the library (@angular/common/http) which declares HttpClient has not been processedlibrary's authors to se