@@ -75,6 +75,7 @@ request.interceptors.response.use(
if (res.status > 299 || res.status < 200) {
clearTimeout(toast);
const msg = '服务器错误,状态码' + res.status;
+ clearTimeout(toast);
showToast(msg);
throw new Error(msg);
}