Fixed onScanError
This commit is contained in:
parent
8eff136cc3
commit
1de6b2a0ab
1 changed files with 5 additions and 5 deletions
|
|
@ -233,6 +233,11 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
onScanError: function(error) {
|
||||||
|
this.scanRunning = false;
|
||||||
|
this.modalError(error);
|
||||||
|
},
|
||||||
|
|
||||||
decrement: function() {
|
decrement: function() {
|
||||||
if (this.stepValue > 0) {
|
if (this.stepValue > 0) {
|
||||||
this.stepValue = this.stepValue - 1;
|
this.stepValue = this.stepValue - 1;
|
||||||
|
|
@ -293,11 +298,6 @@ export default {
|
||||||
pad(tzo % 60)
|
pad(tzo % 60)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
|
||||||
|
|
||||||
onScanError: function(error) {
|
|
||||||
this.scanRunning = false;
|
|
||||||
this.modalError(error);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue