added auto save and save button

This commit is contained in:
ori agranat
2019-10-29 23:58:06 +02:00
parent a72336270b
commit 1e02f114e1
21 changed files with 545 additions and 474 deletions

View File

@@ -15,12 +15,14 @@
export default {
name: "SingleCalibration",
props: ['rawPoint'],
methods:{
clearPoint(){
this.handleInput('point',[0,0]);
methods: {
clearPoint() {
this.handleInput('point', [0, 0]);
this.$emit('update');
},
takePoint(){
this.handleInput('point',this.rawPoint);
takePoint() {
this.handleInput('point', this.rawPoint);
this.$emit('update');
}
}
}