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,