mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-10 20:02:56 +00:00
【issues/9169】切换页码时,pageChange事件加载了两次
This commit is contained in:
parent
26087172df
commit
872f84d006
@ -38,7 +38,10 @@ export function usePagination(props: JVxeTableProps, methods: JVxeTableMethods)
|
||||
|
||||
function handleShowSizeChange(current, pageSize) {
|
||||
innerPagination.pageSize = pageSize;
|
||||
methods.trigger('pageChange', { current, pageSize });
|
||||
// -update-begin--author:liaozhiyang---date:20251209---for:【issues/9169】切换页码时,pageChange事件加载了两次
|
||||
// 因为 handleShowSizeChange先触发,紧接着会触发 handleChange,所以可以注释掉。
|
||||
// methods.trigger('pageChange', { current, pageSize });
|
||||
// -update-end--author:liaozhiyang---date:20251209---for:【issues/9169】切换页码时,pageChange事件加载了两次
|
||||
}
|
||||
|
||||
/** 渲染分页器 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user