This commit is contained in:
busti 2019-12-28 05:56:38 +01:00
parent 192ade42a5
commit 2c2b7f5532

View file

@ -97,7 +97,7 @@ export default {
const self = this; const self = this;
reader.onload = function () { reader.onload = function () {
self.dataImage = reader.result; self.dataImage = reader.result;
self.onCapture(this.dataImage); self.onCapture(self.dataImage);
self.closeStream(); self.closeStream();
}; };
reader.onerror = function (error) { reader.onerror = function (error) {