eros icon indicating copy to clipboard operation
eros copied to clipboard

bmAxios无法发送Array格式的数据,只能Object类型

Open fukai7722 opened this issue 5 years ago • 0 comments

Your questions.

  • bmAxios无法发送Array格式的数据,只能Object类型
  • 请求数据如下 let resData = await this.$fetch({ method: 'POST', url: 'recordwork/project/memberbatch', data:[{ id:"***" }, { id:"***" }] })

抓包后,发送内容为空,后台RequestBody也无法获得内容

Environment.

  • Mobile model: iphone6
  • Mobile system: iOS 12
  • Dev platform: Mac
  • Node: 10.x.x
  • Npm: 6.x.x

What do you think may be caused by the analysis of the problem.

Reappearance of the problem (It's best to have a screenshot).

fukai7722 avatar May 06 '19 03:05 fukai7722