From 92808bd6e674ff0998fb6a61bb38d15ef380cf3d Mon Sep 17 00:00:00 2001 From: chenxt <10125295+chen-xintao97@user.noreply.gitee.com> Date: Thu, 2 Apr 2026 17:02:28 +0800 Subject: [PATCH] mes分页 --- src/mes/common/commonModelComponent/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mes/common/commonModelComponent/index.js b/src/mes/common/commonModelComponent/index.js index f4e04d8..a0dfb53 100644 --- a/src/mes/common/commonModelComponent/index.js +++ b/src/mes/common/commonModelComponent/index.js @@ -264,7 +264,6 @@ const useCommonModelEvent = props => { // 初始化事件 useEffect( async () => { - console.log(props?.mesPageChange, 'props?.mesPageChange'); if (commonUtils.isNotEmptyArr(formData)) { let pageLayout = []; @@ -912,9 +911,8 @@ const useCommonModelEvent = props => { // 2026 新增如果是indexPage/commonList那么需要真分页 const { sName, bPagination = false } = config || {}; let isPagination = false - if (sName.includes('/indexPage/commonList') && bPagination) { + if (sName?.includes('/indexPage/commonList') && bPagination) { isPagination = true - console.log(props, 'isPagination'); } const result = @@ -2581,7 +2579,7 @@ const CommonTableComponent = props => { onTableBtnClick, tableProps: { onChange: () => { }, - rowKey: baseProps?.config?.sId === "17091154460006421964039036672000" ? 'sSlaveId' : 'sId', + rowKey: baseProps?.config?.sId === "17091154460006421964039036672000" || baseProps?.config?.sName?.includes('/indexPage/commonList') ? 'sSlaveId' : 'sId', mesTotalCount, mesPageSize, mesPageNum, -- libgit2 0.22.2