Skip to content

Commit 760374f

Browse files
author
WeiziPlus
committed
1.1.1.3 修复封装axios下载一定会触发success()方法问题
1 parent 3cfbdcf commit 760374f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

vue/src/utils/axios.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,6 @@ export function weiAxiosDown(
313313
}
314314
}
315315
};
316-
try {
317-
success(res);
318-
} catch (e) {
319-
console.error(e);
320-
}
321316
}).catch((error) => {
322317
/**关闭加载中动画*/
323318
clearTimeout(loadingTimer);

0 commit comments

Comments
 (0)