The fetch tuner interface is returned, but the front end cannot get it. Take the catch method.

the vue background project needs to log in. When adjusting the API, it is found that every fetch request is returned. However, due to not going through the then method, you can"t get the response, and go straight to catch, because of cross-domain problems.

clipboard.png

clipboard.png

clipboard.png

clipboard.png

Mar.16,2021

  1. params is the GET parameter. Take a look at the request link you sent out, which may lead to a backend parsing error
  2. . When
  3. reject, print out the error

content-type and accept for header remember to specify. It's usually application/json.

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