From 801f5d289e1619a527e6bb47ade4ea19b51bdc96 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 23 二月 2024 16:32:14 +0800 Subject: [PATCH] # --- zy-asrs-flow/src/pages/system/user/index.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/zy-asrs-flow/src/pages/system/user/index.jsx b/zy-asrs-flow/src/pages/system/user/index.jsx index 170b255..2066b4e 100644 --- a/zy-asrs-flow/src/pages/system/user/index.jsx +++ b/zy-asrs-flow/src/pages/system/user/index.jsx @@ -147,7 +147,7 @@ } useEffect(() => { - const handleResize = () => setBoxHeight(window.innerHeight - 420); + const handleResize = () => setBoxHeight(window.innerHeight - 320); window.addEventListener('resize', handleResize); handleResize(); @@ -534,7 +534,7 @@ > <Row gutter={[16, 24]}> <Col lg={6} md={24}> - <Card title="閮ㄩ棬" style={{ width: '100%', height: 'calc(100vh - 252px)' }}> + <Card title="閮ㄩ棬" style={{ width: '100%', height: 'calc(100vh - 160px)' }}> <Input style={{ marginBottom: 10 }} placeholder="璇疯緭鍏�" @@ -545,7 +545,7 @@ }) }} /> - <div style={{ height: 'calc(100vh - 402px)', overflowY: 'auto' }}> + <div style={{ height: 'calc(100vh - 325px)', overflowY: 'auto' }}> {deptTreeLoading ? ( <Skeleton active /> ) : ( @@ -578,6 +578,7 @@ formRef={formTableRef} columns={columns} cardBordered + size='small' scroll={{ y: boxHeight }} dateFormatter="string" pagination={{ pageSize: 20 }} -- Gitblit v1.9.1