axios.interceptors.request.use(function(config){ //比如是否需要 ... type: 'error', duration: 3 * 1000 }) return Promise.reject(error) ...
確定! 回上一頁