Perbaikan PPOB
This commit is contained in:
@@ -313,9 +313,9 @@ export const ProductComponent = observer((props) => {
|
||||
itemLayout="horizontal"
|
||||
position={"top"}
|
||||
pagination={{
|
||||
onChange: async (page) => {
|
||||
store.product.pageSize = page.pageSize;
|
||||
store.product.page = page.current - 1;
|
||||
onChange: async (page,pageSize) => {
|
||||
store.product.pageSize = pageSize;
|
||||
store.product.page = page - 1;
|
||||
modalLoader.setLoading(true);
|
||||
await store.product.getData();
|
||||
modalLoader.setLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user