From cba5abaf81b3727787146cccf35db2c972cf7260 Mon Sep 17 00:00:00 2001 From: votuanphong1983 Date: Fri, 16 Sep 2022 12:38:15 +0700 Subject: [PATCH] Fix bugThere's no message displayed when component loaded --- src/Dropify.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dropify.vue b/src/Dropify.vue index 9734c5f..19b5c93 100644 --- a/src/Dropify.vue +++ b/src/Dropify.vue @@ -256,7 +256,7 @@ export default { setImageSrc() { const src = this.src === undefined || this.src === null ? '' : this.src; - this.images = { src } + this.images = src === '' ? {} : { src } }, initFileReader(index, callback) { // init file upload to dropify