|
@@ -142,7 +142,12 @@ export default {
|
|
if (this.listType == 'text') {
|
|
if (this.listType == 'text') {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- this.previewImage = file.url || file.thumbUrl
|
|
|
|
|
|
+ console.log(file)
|
|
|
|
+ if (file.response.status == 200) {
|
|
|
|
+ this.previewImage = file.response.data
|
|
|
|
+ } else {
|
|
|
|
+ this.previewImage = file.url || file.thumbUrl
|
|
|
|
+ }
|
|
this.previewVisible = true
|
|
this.previewVisible = true
|
|
},
|
|
},
|
|
handleRemove (file) {
|
|
handleRemove (file) {
|