Angular decode the request url

后端 未结 0 1643
旧巷少年郎
旧巷少年郎 2020-12-31 14:21
  post(url: string, body: any): Observable { 
    return this.http.post(this.baseUrl + decodeURIComponent(url), body);
  }

add(data){
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题