From 2c2b7f553291258ca3c8468429b3a2fb1ab60950 Mon Sep 17 00:00:00 2001 From: busti Date: Sat, 28 Dec 2019 05:56:38 +0100 Subject: [PATCH] fix bug --- src/components/inputs/InputPhoto.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/inputs/InputPhoto.vue b/src/components/inputs/InputPhoto.vue index 6d12982..9a74bf6 100644 --- a/src/components/inputs/InputPhoto.vue +++ b/src/components/inputs/InputPhoto.vue @@ -97,7 +97,7 @@ export default { const self = this; reader.onload = function () { self.dataImage = reader.result; - self.onCapture(this.dataImage); + self.onCapture(self.dataImage); self.closeStream(); }; reader.onerror = function (error) {