From 8cd7d261a37509344c416079392b54d283ad6503 Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Mon, 22 Jan 2024 23:33:45 +0530 Subject: [PATCH] exp.trim to string --- 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 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]); },