patch logging

This commit is contained in:
sanjayk03-dev
2024-02-26 16:12:29 +05:30
parent e76c35271d
commit d540809975
2 changed files with 2 additions and 2 deletions

View File

@@ -412,7 +412,7 @@ module.exports = new Vue({
selected_tool !== "pwm" &&
selected_tool !== "laser" &&
selected_tool !== "router";
console.log("saveModBus: ", saveModbus);
console.log("saveModBus: ", saveModbus);
const settings = {
["tool"]: { ...this.config.tool },
["pwm-spindle"]: { ...this.config["pwm-spindle"] },

View File

@@ -161,7 +161,7 @@ module.exports = {
this.config.tool = merge({}, this.config.tool, settings["tool"]);
this.config["pwm-spindle"] = merge({}, this.config["pwm-spindle"], settings["pwm-spindle"]);
this.config["modbus-spindle"] = merge({}, this.config["modbus-spindle"], settings["modbus-spindle"]);
console.log(config);
console.log(this.config);
const tool = this.toolList.find(tool => tool.id == this.config.tool["selected-tool"]);
console.log("tool: ", tool);
this.config.tool["tool-type"] = tool.type || tool.name;