riku
2025-07-16 c23ac06446a9a1edc41cc13723e5d0b8eabdfd63
src/views/sourcetrace/SourceTrace.vue
@@ -7,7 +7,7 @@
    "
  >
    <el-col span="2" class="flex-col">
      <el-row justify="end">
      <el-row :justify="direction == 'left' ? 'end' : 'start'">
        <CardButton
          :direction="direction"
          name="动态溯源"
@@ -242,7 +242,7 @@
function dealMsg(data) {
  const { type, content } = websocketMsgParser.parseMsg(data);
  const obj = reactive(JSON.parse(content));
  if (obj[0].deviceCode == props.deviceCode) {
  if (obj.deviceCode == props.deviceCode) {
    obj._type = type;
    dealObj(obj);
  }