Web/src/views/device/deviceInfo/index.vue
@@ -100,6 +100,7 @@ if (foundCell) { //修改高度 foundCell.BoxHeight = s.boxHeight; foundCell.EndLocat = s.endLocat; } } else if (s.type == 1) { @@ -166,6 +167,7 @@ debugger; const foundCell = cellsDataLine.value.find(cell => cell.Code === data.stationNum); if (foundCell) { foundCell.EndLocat = data.endLocat; const startHeight = foundCell.BoxHeight; const targetHeight = data.boxHeight; const duration = 1000; // 动画持续时间(毫秒)