Create PreviewTable.vue
This commit is contained in:
parent
2193a0638d
commit
b68fe4e596
@ -65,10 +65,13 @@ export default {
|
||||
},
|
||||
changeTitle(value, row) {
|
||||
row.title = value
|
||||
if (row.picture?.startsWith('blob:')) {
|
||||
URL.revokeObjectURL(row.picture);
|
||||
URL.revokeObjectURL(row.file);
|
||||
var reader = new FileReader();
|
||||
reader.readAsArrayBuffer(row.blob);
|
||||
let oldFlie: Uint8Array
|
||||
reader.onload = function(){
|
||||
oldFile = this.result;
|
||||
}
|
||||
row.picture = file.url;
|
||||
},
|
||||
changeArtist(file, row) {
|
||||
if (row.picture?.startsWith('blob:')) {
|
||||
|
Reference in New Issue
Block a user