Axios get request parameter problem

clipboard.png

clipboard.png

clipboard.png

clipboard.png

clipboard.png

axios
clipboard.png
turns out that there are too many requests? params=.
and you can request data by using axios.get directly. What is the reason for this? is it because I am blocking the problem?

Mar.09,2021

this is the browser that extracts the parameters of get for you to observe.


the parameters of the get request are originally written in url, but the splicing work is done by axios for you.


the 400th parameter you returned is incorrect, which is due to the problem with the parameter query you passed.
you can request data using axios.get, because the parameter you pass is id=xxxxxx
and the parameter you pass using getRequest, becomes params: {xxxxxxx}. Back-end parsing parameter error
you'd better see what's in the parameter params when using getRequest. I think it's the problem here

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-1e41f89-44977.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-1e41f89-44977.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?