filtering Gcodes

This commit is contained in:
sanjayk03-dev
2024-01-22 09:56:48 +05:30
parent 45f3ed687e
commit 96657f3cb1
4 changed files with 14 additions and 10 deletions

View File

@@ -23,7 +23,7 @@ module.exports = {
"default",
],
newGcode: ["", "", "", "", "", "", "", ""],
macrosList: this.config.macros.map((item) => item.gcode_file_name),
macrosList: this.config.macrosList.map((el) => el.gcode_file_name),
};
},
computed: {
@@ -63,7 +63,7 @@ module.exports = {
} else {
this.newGcode[this.tab - 1] = "";
}
console.log(this.newGcode[this.tab-1]);
console.log(this.newGcode[this.tab - 1]);
},
upload: function (e) {
const files = e.target.files || e.dataTransfer.files;