bmfe/eros

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

fukai7722 opened this issue · 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).