From b01733d09b8975f374b8a4f0d03e8481ca94f46f Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Mon, 22 Jan 2024 23:39:26 +0530 Subject: [PATCH] removed this --- src/js/macros.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/macros.js b/src/js/macros.js index f37d1b2..0a170d7 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('newGcode[this.tab-1]',text); } else { // this.newGcode[this.tab - 1]=""; - this.$set('this.newGcode',this.tab-1,""); + this.$set('newGcode[this.tab-1]',""); } console.log("newGcode: ",this.newGcode[this.tab - 1]); },