Perbaikan PPOB

This commit is contained in:
2022-01-11 14:33:09 +07:00
parent b24ea23e3d
commit a9d0d199d1
15 changed files with 344 additions and 107 deletions

View File

@@ -251,9 +251,9 @@ export const SupplierComponent = observer((props) => {
itemLayout="horizontal"
position={"top"}
pagination={{
onChange: async (page) => {
store.supplier.pageSize = page.pageSize;
store.supplier.page = page.current - 1;
onChange: async (page,pageSize) => {
store.supplier.pageSize = pageSize;
store.supplier.page = page - 1;
modalLoader.setLoading(true);
await store.supplier.getData();
modalLoader.setLoading(false);