|
|
@@ -171,8 +171,7 @@ export default {
|
|
|
methods: {
|
|
|
handleChange(file, filelist) {
|
|
|
if (!this.filelist.some((v) => v.uid == file.uid))
|
|
|
- this.filelist = filelist;
|
|
|
- console.log("filelist", JSON.parse(JSON.stringify(filelist)));
|
|
|
+ this.filelist.push(file);
|
|
|
this.loading = true;
|
|
|
let filename = file.raw.name,
|
|
|
filetype = file.name.substr(file.raw.name.lastIndexOf(".") + 1);
|