#
luxiaotao1123
2024-02-20 7f0b1dfe22f36404e433f4e624544f2d780ace5d
#
1个文件已修改
9 ■■■■ 已修改文件
zy-asrs-flow/src/pages/system/user/index.jsx 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/system/user/index.jsx
@@ -95,8 +95,13 @@
    const [currentRow, setCurrentRow] = useState();
    const [searchParam, setSearchParam] = useState({});
    useEffect(() => {
    const [boxHeight, setBoxHeight] = useState(window.innerHeight - 450);
    useEffect(() => {
        const handleResize = () => setBoxHeight(window.innerHeight - 450);
        window.addEventListener('resize', handleResize);
        return () => window.removeEventListener('resize', handleResize);
    }, []);
    const columns = [
@@ -421,7 +426,7 @@
                    formRef={formTableRef}
                    columns={columns}
                    cardBordered
                    scroll={{ x: 1300 }}
                    scroll={{ x: 1300, y: boxHeight }}
                    dateFormatter="string"
                    pagination={{ pageSize: 20 }}
                    search={false}