From cb3b4feddf9190a6664ba62a99db331c0ea13fe2 Mon Sep 17 00:00:00 2001 From: 13404089107 <puwei@sinata.cn> Date: 星期二, 25 二月 2025 21:10:29 +0800 Subject: [PATCH] 三个身边职位管理及工单事项配置对接口 --- management/src/utils/antdUtils.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/management/src/utils/antdUtils.js b/management/src/utils/antdUtils.js index 5355fac..506c0e8 100644 --- a/management/src/utils/antdUtils.js +++ b/management/src/utils/antdUtils.js @@ -103,7 +103,8 @@ } export async function buildProTableDataSource(fun, params) { - params.pageNum = params.current; + params.pageNum = params.current || 1; + params.pageSize = params.pageSize || 10 delete params.current const response = await fun(params); const data = Promise.resolve({ -- Gitblit v1.7.1