上传发票 不显示问题
This commit is contained in:
@ -310,7 +310,7 @@
|
|||||||
this.$set(this.activeObj, 'imageUrl', '')
|
this.$set(this.activeObj, 'imageUrl', '')
|
||||||
this.$set(this.activeObj, 'fileName', '')
|
this.$set(this.activeObj, 'fileName', '')
|
||||||
if (['pdf','ofd'].indexOf(this.activeObj.fileType) === -1) {
|
if (['pdf','ofd'].indexOf(this.activeObj.fileType) === -1) {
|
||||||
this.activeObj.imageUrl = URL.createObjectURL(file.raw);
|
// this.activeObj.imageUrl = URL.createObjectURL(file.raw);
|
||||||
this.activeObj.imageUrl = res.data.url
|
this.activeObj.imageUrl = res.data.url
|
||||||
this.$set(this.activeObj, 'fileName', file.file.name)
|
this.$set(this.activeObj, 'fileName', file.file.name)
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user