Pass Object to Angular FormData

前端 未结 0 2014
误落风尘
误落风尘 2021-01-05 07:37

I want to pass document field in my form as an object like

formData.append(\'document\', {
      uri: this.fileUrl,
      type: this.file.typ         


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