Axios set timeout has no effect

clipboard.png

clipboard.png

as shown in the figure, the 5000ms request timeout is set, but it has no effect. The request failed after 51.64s and 1.3min. Is the setting incorrect?

Mar.17,2022
For the problem of

mock.js, just use the backend service


import axios from 'axios'
axios.defaults.timeout = 5000
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-1bfa0f6-321bb.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-1bfa0f6-321bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?