fix:picture is not rendered

get the picture base64 asynchronously, resulting in no rendering
pull/1554/head
陈李雨声 2019-12-14 18:26:25 +08:00 committed by GitHub
parent c835bb8f9e
commit f744690e92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -84,8 +84,8 @@ export default {
previewFile(file.originFileObj, previewDataUrl => {
/*eslint-disable */
file.thumbUrl = previewDataUrl;
/*eslint -enable todo */
// this.forceUpdate()
/*eslint -enable */
this.$forceUpdate();
});
});
});