wu
2023-09-12 9041bf0365d5ef7f9215543c6bc2e51375802943
CanadaMes-ui/src/views/Electrical/Action.vue
@@ -147,7 +147,7 @@
            }
          }
          console.log(this.record.xyData);
          // console.log(this.record.xyData);
          this.$forceUpdate();
        };
@@ -164,7 +164,7 @@
    },
    send () {
      this.messagepack.data = this.record.xyData.map(item => parseInt(item.value)); // 转换为整数数组
      console.log(this.messagepack);
      //console.log(this.messagepack);
      socket?.send(JSON.stringify(this.messagepack));
    }