fix axios cancel

This commit is contained in:
AceDataCloud committed 2023-02-25 22:36:02 +08:00
1 parent 8b488de9d6
commit 9bd46bbccb
3 files changed
+7 -53

No files matched your search

-1
View File
@@ -98,7 +98,6 @@ export default defineComponent({
this.form = {};
// cancel existing pending request
if (this.canceler) {
console.log('abort');
this.canceler.abort();
}
this.canceler = new AbortController();