diff --git a/src/views/attachment/AttachmentList.vue b/src/views/attachment/AttachmentList.vue index 7fc9e13e..ee14a851 100644 --- a/src/views/attachment/AttachmentList.vue +++ b/src/views/attachment/AttachmentList.vue @@ -127,7 +127,7 @@ import { PageView } from '@/layouts' import { mixin, mixinDevice } from '@/utils/mixin.js' import attachmentApi from '@/api/attachment' -import axios from 'axios' + export default { components: { PageView @@ -227,7 +227,7 @@ export default { }, handleUpload(option) { this.$log.debug('Uploading option', option) - const CancelToken = axios.CancelToken + const CancelToken = attachmentApi.CancelToken const source = CancelToken.source() const data = new FormData()