首先500是服务器内部错误
postman测试正常
浏览器报Error 500--Internal Server Error From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
查看request
let data={
"xxx
}
me.$u.post(‘/xxxx‘, JSON.stringify(data))
.then(res => {
console.log(res.data);
if (res.code == 200) {
this.sxxx=res.data.xxx;
} else {
}
}).catch(e => {
});