1.人员卡片锚点增加滚动2.自定义设置增加分页

This commit is contained in:
Chengliang 2025-01-06 11:39:46 +08:00
parent 342e12820b
commit 21801124c1
2 changed files with 12 additions and 2 deletions

View File

@ -38,11 +38,16 @@ export default class DefineShowItems extends Component {
draggable
deleteConfirm
title=""
pageSize={10}
pageSizeOptions={[10, 20, 50]}
columns={toJS(columns)}
datas={toJS(datas)}
copyFilterProps={["id"]}
selectedData={!loading && toJS(selectedData)}
onChange={e => columnSetting.setTableEditDatas(e)}
tableProps={{
scroll: { y: 400 }
}}
onRowSelect={(sRowKeys, rows, dataIndex, selectedDatas) => this.onRowSelect(sRowKeys, rows, dataIndex, selectedDatas)}
/>
);

View File

@ -188,12 +188,17 @@
width: 10%;
background-color: #ffffff;
margin-left: 20px;
position: fixed;
height: 100%;
top: 0;
right: 0;
overflow: scroll;
.right{
height: 100%;
padding-left: 20px;
.ant-timeline{
position: fixed;
top: 20px;
// position: fixed;
margin-top: 20px;
.title {
cursor: pointer;
}