Update PreviewTable.vue

This commit is contained in:
xhacker-zzz 2021-12-22 13:17:28 +08:00 committed by GitHub
parent ead8638736
commit bd31514880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ export default {
},
changeCover(file, row) {
row.picture = file.url;
if (row.picture?.startsWith('blob:')) {
URL.revokeObjectURL(row.picture);
}
},
},
};