Update PreviewTable.vue

This commit is contained in:
xhacker-zzz 2021-12-22 16:33:39 +08:00 committed by GitHub
parent 283eb74081
commit abc32de2c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,10 +58,10 @@ export default {
this.$emit('download', row);
},
changeCover(file, row) {
row.picture = file.url;
if (row.picture?.startsWith('blob:')) {
URL.revokeObjectURL(row.picture);
}
row.picture = file.url;
},
},
};