tesing
This commit is contained in:
@@ -322,7 +322,7 @@ module.exports = {
|
|||||||
this.deleteGCode = false;
|
this.deleteGCode = false;
|
||||||
},
|
},
|
||||||
load_macro: async function () {
|
load_macro: async function () {
|
||||||
if (this.tab == 0 || !this.state.macros[this.tab - 1]) {
|
if (this.tab == 0) {
|
||||||
document.getElementById("macros-name").value = "";
|
document.getElementById("macros-name").value = "";
|
||||||
document.getElementById("macros-color").value = "#ffffff";
|
document.getElementById("macros-color").value = "#ffffff";
|
||||||
this.isChecked = true;
|
this.isChecked = true;
|
||||||
@@ -397,6 +397,7 @@ module.exports = {
|
|||||||
.toString();
|
.toString();
|
||||||
api.delete(`file/DINCAIQABiDARixAxiABDIHCAMQABiABDIHCAQQABiABDIH${macros_list}`);
|
api.delete(`file/DINCAIQABiDARixAxiABDIHCAMQABiABDIHCAQQABiABDIH${macros_list}`);
|
||||||
this.config.macros_list = [];
|
this.config.macros_list = [];
|
||||||
|
this.tab = "0";
|
||||||
this.edited = false;
|
this.edited = false;
|
||||||
this.confirmReset = false;
|
this.confirmReset = false;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user