|
|
@ -939,7 +939,8 @@ export default { |
|
|
|
'file_thumbnail': '', |
|
|
|
'create_time': this.nowDate, |
|
|
|
'id': null, |
|
|
|
'is_quote': null |
|
|
|
'is_quote': null, |
|
|
|
'last_modified': this.file.lastModified |
|
|
|
} |
|
|
|
const arrayUpload = [] |
|
|
|
arrayUpload.push(json) |
|
|
@ -947,6 +948,7 @@ export default { |
|
|
|
// this.$set(this.addOrUpdateForm, 'fileOriginal', this.fileNames) |
|
|
|
|
|
|
|
this.fileJsonString = JSON.stringify(arrayUpload) |
|
|
|
console.log(this.fileJsonString) |
|
|
|
}, |
|
|
|
// 将上传的图片转为base64 |
|
|
|
getBase64(file) { |
|
|
|