Commit e9233875 authored by 程恺文's avatar 程恺文

树列表虚拟滚动

parent 646967b6
Pipeline #76398 passed with stages
...@@ -1756,8 +1756,9 @@ const UserManage = () => { ...@@ -1756,8 +1756,9 @@ const UserManage = () => {
{searchTreeValue !== '' ? ( {searchTreeValue !== '' ? (
<> <>
{treeData.length > 0 && ( {treeData.length > 0 && (
<div style={{ height: '100%', overflowY: 'scroll' }}> // <div style={{ height: '100%', overflowY: 'scroll' }}>
<Tree <Tree
height={780}
showIcon="true" showIcon="true"
blockNode blockNode
defaultExpandAll defaultExpandAll
...@@ -1768,7 +1769,7 @@ const UserManage = () => { ...@@ -1768,7 +1769,7 @@ const UserManage = () => {
selectedKeys={[menuID]} selectedKeys={[menuID]}
keepTree={keepTree} keepTree={keepTree}
/> />
</div> // </div>
)} )}
</> </>
) : ( ) : (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment