Browse Source

超出滚动条显示

master
xingyongchun 2 years ago
parent
commit
1909823188
  1. 6
      web/client/src/sections/homePage/containers/index.js

6
web/client/src/sections/homePage/containers/index.js

@ -7,6 +7,7 @@ import styles from "./index.less";
import { push } from "react-router-redux";
import moment from "moment";
import { getProject, getPeople, getWait } from "../actions/profile";
import { Scroller } from "$components";
const CX = classnames.bind(styles);
const topImg = "/assets/images/top.png";
@ -202,7 +203,10 @@ function Management(props) {
<img className={CX("index-main-box-point")} src={pointImg} />
<div className={CX("index-main-box-title")}>人员情况</div>
<div className={CX("index-main-box-en")}>/Information on Personnel</div>
<Table dataSource={peopleData} columns={peopleCol} size="middle" pagination={false} scroll={{x:500}}/>
<Scroller containerId={"article-container-query"} height={"80%"}>
<Table dataSource={peopleData} columns={peopleCol} size="middle" pagination={false} scroll={{ x: 500 }} />
</Scroller>
</div>
<div className={CX("index-main-box")}>
<img className={CX("index-main-box-point")} src={pointImg} />

Loading…
Cancel
Save