|
|
@@ -106,7 +106,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: item, url: item };
|
|
|
} else {
|
|
|
item = { name: item, url: item };
|
|
|
}
|
|
|
@@ -210,6 +210,7 @@ export default {
|
|
|
},
|
|
|
// 预览
|
|
|
handlePictureCardPreview(file) {
|
|
|
+ console.log(file)
|
|
|
this.dialogImageUrl = file.url;
|
|
|
this.dialogVisible = true;
|
|
|
},
|