|
@@ -1203,7 +1203,7 @@ export default {
|
|
|
let shouldPrint = false; // 用于控制是否应该打印
|
|
|
|
|
|
this.websocket.addEventListener("message", async (event) => {
|
|
|
- if (!this.printAuto) return;
|
|
|
+ // if (!this.printAuto) return;
|
|
|
console.log("hmc后端自动打印逻辑1")
|
|
|
const weightData = JSON.parse(event.data);
|
|
|
const weight = weightData.weight;
|