Browse Source

feat: 合并事项滚动条代码

lanjianrong 2 years ago
parent
commit
d4df05f45a
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/pages/Business/Matter/index.tsx

+ 0 - 3
src/pages/Business/Matter/index.tsx

@@ -103,8 +103,6 @@ const Matter: React.FC = () => {
     query({ gatherID, businessType })
   }
 
-  const wrapHeight = document.querySelector('.ant-pro-page-container-warp')?.clientHeight || 0
-
   return (
     <PageContainer title={false}>
       <div className="h-full w-full flex flex-row">
@@ -136,7 +134,6 @@ const Matter: React.FC = () => {
               </div>
             }
             loading={loading}
-            scroll={{ y: document.body.clientHeight - (263 + wrapHeight) }}
             columns={columns}
             dataSource={treeList}
             bordered