this.http.get<Config>(this.configUrl) .subscribe((data: Config) => this.config = { ...data });. get请求,明确返回的数据类型为Config,故请求形式为 ...
確定! 回上一頁