公共品牌管理每页显示条数修改

This commit is contained in:
Xulinchuan 2025-06-11 15:32:43 +08:00
parent 7f2f448f93
commit b64723ef1b
3 changed files with 7 additions and 1 deletions

View File

@ -333,6 +333,8 @@ const getHeaderClass = ({ column }) => {
//
const handlePaginationChange = ({ page, pageSize }) => {
console.log("分页变化:", page, pageSize);
formInline.current = page;
formInline.size = pageSize;
// API
loadData();
};

View File

@ -102,7 +102,7 @@
:current-page="formInline.current"
:page-size="formInline.size"
:showSort="true"
:rowkey="'goodId'"
:rowkey="'id'"
>
<!-- 自定义-图片 -->
<template #imgPath="slotProps">
@ -272,6 +272,8 @@ const getHeaderClass = ({ column }) => {
//
const handlePaginationChange = ({ page, pageSize }) => {
console.log("分页变化:", page, pageSize);
formInline.current = page;
formInline.size = pageSize;
// API
loadData();
};

View File

@ -282,6 +282,8 @@ const getHeaderClass = ({ column }) => {
//
const handlePaginationChange = ({ page, pageSize }) => {
console.log("分页变化:", page, pageSize);
formInline.current = page;
formInline.size = pageSize;
// API
loadData();
};