exp.trim to string

This commit is contained in:
sanjayk03-dev
2024-01-22 23:33:45 +05:30
parent 7b7089a328
commit 8cd7d261a3

View File

@@ -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]);
},