fix bug
This commit is contained in:
parent
192ade42a5
commit
2c2b7f5532
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue