Using the validateStatus config option, you can define HTTP code(s) that should throw an error. axios.get('/user/12345', { validateStatus: function (status) ...
確定! 回上一頁