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