This commit is contained in:
sanjayk03-dev
2024-01-22 23:08:37 +05:30
parent 8ba566702a
commit 3be6d1cd67

View File

@@ -57,12 +57,9 @@ module.exports = {
cache: "no-cache",
});
const text = (await response.text()).split(" ").join("\n");
if (text.length > 20e6) {
this.newGcode[this.tab - 1]="File is large - gcode view disabled";
} else {
console.log(text);
// this.newGcode[this.tab - 1]=text;
Vue.set(this.newGcode,this.tab,text);
}
Vue.set(this.newGcode,this.tab-1,text);
} else {
this.newGcode[this.tab - 1]="";
}