|
|
@@ -94,7 +94,7 @@ export default {
|
|
|
this.fileList = list.map(item => {
|
|
|
if (typeof item === "string") {
|
|
|
if (item.indexOf(this.baseUrl) === -1) {
|
|
|
- // item = { name: this.baseUrl + item, url: this.baseUrl + item };
|
|
|
+ // item = { name: this.baseUrl + item, url: this.baseUrl + item };k
|
|
|
item={name: item, url: item}
|
|
|
} else {
|
|
|
item = { name: item, url: item };
|
|
|
@@ -133,7 +133,8 @@ export default {
|
|
|
this.fileList = this.fileList.concat(this.uploadList);
|
|
|
this.uploadList = [];
|
|
|
this.number = 0;
|
|
|
- this.$emit("onUploaded", this.listToString(this.fileList));
|
|
|
+ // this.$emit("onUploaded", this.listToString(this.fileList));
|
|
|
+ this.$emit("onUploaded", this.fileList)
|
|
|
this.$modal.closeLoading();
|
|
|
}
|
|
|
},
|