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) {