Questions about axios form submission and jQuery form submission.

recently, I encountered a problem when using axios, that is, the data requested from the server by the same headers, of axios and jQuery is different. I would like to ask if there are any questions in this. Request for
1:axios header

:

2:jQuery ajax header

:

what is the signature in this should be correct, because I can make a successful request by using jQuery"s Ajax after referencing jQuery in vue.


can I code?


Thank you, it has been solved.
first introduce
import qs from 'qs';
Vue.prototype.$qs=qs;

into main.js.

when axios passes a value

let _args = {
    cityid: 1
};

$this.$qs.stringify(_args);


just pass this value into axios

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e89916-46d2f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e89916-46d2f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?