axios request header stepped pit diary -application / json

When you head to the change request

axios.defaults.headers["Content-type"] = "application/json"

, You will not take, or data submitted unsuccessful

  Then you see if you use qs.stringify ()

Guess you like

Origin blog.csdn.net/AIB_Kasic/article/details/91412514