After ajax enters error, you can see the status code in neiwork, but you can't get it in the code.

Project encapsulates axios to handle error requests uniformly:

clipboard.png

consoleconsole
axiosJQajaxajaxneiwork:

clipboard.png

the passing god helps analyze what"s going on

Jul.27,2021

should be cross-domain

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