|
|
@@ -82,7 +82,6 @@ export default {
|
|
|
this.params.content.filename = file.raw.name
|
|
|
|
|
|
this.params.content.filetype = ext
|
|
|
- console.log(file, ext)
|
|
|
this.getUploadUrl(file, ext)
|
|
|
},
|
|
|
|
|
|
@@ -92,7 +91,6 @@ export default {
|
|
|
const res = await this.$api.requested(this.params)
|
|
|
let url = res.data.uploadurl
|
|
|
let obsfilename = res.data.serialfilename
|
|
|
- console.log(url, file, ext, obsfilename);
|
|
|
|
|
|
this.upoladFileToServer(url, file, ext, obsfilename)
|
|
|
},
|
|
|
@@ -130,7 +128,6 @@ export default {
|
|
|
}
|
|
|
|
|
|
const res = await this.$api.requested(param)
|
|
|
- console.log(res);
|
|
|
this.$emit('onSuccess')
|
|
|
},
|
|
|
|