import qs from 'qs'; axios({ method: 'post', url: '/login', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, data: qs.stringify({name:'abc',pwd:'123'}) });