From d74fbf091b642604a2ad74668ffd8a5cfafaefa2 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期四, 12 九月 2024 10:04:52 +0800
Subject: [PATCH] 子表基础资料文本框输入后自动检索:弹窗选择选中的数据时,滚动条滚动
---
WebTM/views/PublicPage/PowerInformation.html | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/WebTM/views/PublicPage/PowerInformation.html b/WebTM/views/PublicPage/PowerInformation.html
index 182ea2f..67f2c70 100644
--- a/WebTM/views/PublicPage/PowerInformation.html
+++ b/WebTM/views/PublicPage/PowerInformation.html
@@ -346,20 +346,9 @@
} else {
treeData.push(it)
}
- })
- // 閫掑綊杩囨护鎺夋病鏈夊瓙鑺傜偣鐨勯」
- function filterTree(node) {
- if (!node.children || node.children.length === 0) {
- return null; // 杩囨护鎺夋病鏈夊瓙鑺傜偣鐨勯」
- }
- node.children = node.children.map(filterTree).filter(n => n !== null);
- return node;
- }
- // 瀵规瘡涓牴鑺傜偣搴旂敤杩囨护
- treeData = treeData.map(filterTree).filter(n => n !== null);
+ })
return treeData;
- }
-
+ }
</script>
</body>
--
Gitblit v1.9.1