diff --git a/src/js/macros.js b/src/js/macros.js index 424fec7..f37d1b2 100644 --- a/src/js/macros.js +++ b/src/js/macros.js @@ -59,10 +59,10 @@ module.exports = { const text = (await response.text()).split(" ").join("\n"); console.log(text); // this.newGcode[this.tab - 1]=text; - this.$set(this.newGcode,this.tab-1,text); + this.$set('this.newGcode',this.tab-1,text); } else { // this.newGcode[this.tab - 1]=""; - this.$set(this.newGcode,this.tab-1,""); + this.$set('this.newGcode',this.tab-1,""); } console.log("newGcode: ",this.newGcode[this.tab - 1]); },