This commit is contained in:
2025-12-23 12:26:25 +08:00
parent 1f0c84f75e
commit 3c4144335f
14 changed files with 223 additions and 27 deletions

View File

@@ -92,6 +92,13 @@
</ActionColumn>
</ColumnDefinitions>
</Table>
<br />
<Row Justify="RowJustify.End">
@if (PagingList.Count > 0)
{
<Pagination Current="PagingList.Index" Total="PagingList.Count" PageSize="PagingList.Size" ShowSizeChanger="false" OnChange="OnPageChanged"></Pagination>
}
</Row>
</Card>
<Drawer Closable="true" Width="520" Visible="drawerVisible" Title='(model.Id == 0 ? "新增帐号" : "编辑帐号")' OnClose="_ => CloseDrawer()">
@@ -290,9 +297,9 @@
}
}
private void OnPageChanged(int args)
private void OnPageChanged(PaginationEventArgs args)
{
OnSearch(args);
OnSearch(args.Page);
}
void CloseDrawer()