unlink axios import

pull/3445/head
johnniang 2019-04-15 20:07:25 +08:00
parent b7d1334a0e
commit 0e09532812
1 changed files with 2 additions and 2 deletions

View File

@ -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()