From 4c5a4e6820519ba1ec928fb4968e7810dc6a2d3f Mon Sep 17 00:00:00 2001 From: zch Date: Tue, 3 Dec 2024 15:30:05 +0800 Subject: [PATCH] =?UTF-8?q?add(record):=20=E5=A2=9E=E5=8A=A0=E6=A0=91?= =?UTF-8?q?=E5=9E=8B=E7=BB=93=E6=9E=84=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为树形结构容器添加固定高度和垂直滚动条,提高长数据列表的可用性 - 修改涉及 recordBusbarTemp 和 recordBusbarTempCurve 两个组件 --- ruoyi-ui/src/views/record/recordBusbarTemp/index.vue | 4 ++++ ruoyi-ui/src/views/record/recordBusbarTempCurve/index.vue | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ruoyi-ui/src/views/record/recordBusbarTemp/index.vue b/ruoyi-ui/src/views/record/recordBusbarTemp/index.vue index a0fbd20..461d50f 100644 --- a/ruoyi-ui/src/views/record/recordBusbarTemp/index.vue +++ b/ruoyi-ui/src/views/record/recordBusbarTemp/index.vue @@ -748,5 +748,9 @@ export default { box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); object-fit: contain; } +.tree-container { + height: 666px; /* 设置固定高度 */ + overflow-y: auto; /* 添加垂直滚动条 */ +} diff --git a/ruoyi-ui/src/views/record/recordBusbarTempCurve/index.vue b/ruoyi-ui/src/views/record/recordBusbarTempCurve/index.vue index 5827bef..fedb661 100644 --- a/ruoyi-ui/src/views/record/recordBusbarTempCurve/index.vue +++ b/ruoyi-ui/src/views/record/recordBusbarTempCurve/index.vue @@ -774,4 +774,8 @@ export default { display: inline-block; height: 40vh; } +.tree-container { + height: 666px; /* 设置固定高度 */ + overflow-y: auto; /* 添加垂直滚动条 */ +}