Closed annibuliful closed 7 years ago
@lagmanzaza how to fix it?
readUrl(event) { if (event.target.files && event.target.files[0]) { var reader = new FileReader(); reader.onload = (event) => { let data: any = event.target; this.previewImage = data.result; } reader.readAsDataURL(event.target.files[0]); } }
I can fix it