this is the requirement of the backend:
:
what"s going on?
this is the requirement of the backend:
:
what"s going on?
this picture shows that there is something wrong with the data you sent. The whole obj
is json
and regarded as name
FormData
.
install qs
, and then
qs.stringify(obj)
axios
it is not valid for you to set headers
, and encode the data
refer to this issue
Content-Type application/x-www-form-urlencoded
Previous: How to make the rolling area scroll in Mini Program
Next: Why does onpageshow's persisted always turn on false? when it is opened by cell phone safari?