diff --git a/src/components/Table/src/hooks/useCustomSelection.tsx b/src/components/Table/src/hooks/useCustomSelection.tsx index 28656bd..70186d6 100644 --- a/src/components/Table/src/hooks/useCustomSelection.tsx +++ b/src/components/Table/src/hooks/useCustomSelection.tsx @@ -368,11 +368,13 @@ export function useCustomSelection( // 创建选择列 function handleCustomSelectColumn(columns: BasicColumn[]) { - if (!propsRef.value.rowSelection) { + // update-begin--author:liaozhiyang---date:20230919---for:【issues/757】JPopup表格的选择列固定配置不生效 + const rowSelection = propsRef.value.rowSelection; + if (!rowSelection) { return; } - const isFixedLeft = columns.some((item) => item.fixed === 'left'); - + const isFixedLeft = rowSelection.fixed || columns.some((item) => item.fixed === 'left'); + // update-begin--author:liaozhiyang---date:20230919---for:【issues/757】JPopup表格的选择列固定配置不生效 columns.unshift({ title: '选择列', flag: 'CHECKBOX',