src/main.js @@ -56,6 +56,9 @@ }) axios.interceptors.response.use(res => { if(res.data.code === 201){ Message.error(res.data.message) } return res.data }, async function(err) { if (JSON.stringify(err).indexOf('timeout of') > -1) {