摘要:
下面给出修改后的版本。核心改动: 去掉 dataIndex 与 render 的重复(保留 render,移除嵌套 dataIndex)。 项目轴布局中,把 fixed: 'right' 从分组列下移到叶子列(buildMonthChildCol 已经支持)。 期间轴布局中,右侧分组的 key 加上 阅读全文
posted @ 2026-10-15 16:03
小兔子09
阅读(1)
评论(0)
推荐(0)
摘要:
// 组件外:类型补充 type CommonBuilderParams = { visibleCols: ColConfig[]; hasData: boolean; leftFixedKey?: string[]; rightFixedKey?: string[]; currentMonthKe 阅读全文
posted @ 2026-10-15 13:42
小兔子09
阅读(5)
评论(0)
推荐(0)
摘要:
const MonthHeaderLabel: React.FC<{ m: string; isCurrent: boolean; monthLabel: (v: string) => string }> = ({ m, isCurrent, monthLabel, }) => { if (!isC 阅读全文
posted @ 2026-10-15 13:36
小兔子09
阅读(2)
评论(0)
推荐(0)
摘要:
import type { TableColumnsType, FilterDropdownProps } from 'antd'; // 类型 type ProposalData = any; type ColConfig = { key: string; title: string; dataI 阅读全文
posted @ 2026-10-15 09:48
小兔子09
阅读(3)
评论(0)
推荐(0)
摘要:
const columns = useMemo<TableColumnsType<ProposalData>>(() => { const visibleCols = PROPOSAL_COLUMNS.filter((col) => visibleColumnKeys.includes(col.ke 阅读全文
posted @ 2026-10-15 09:23
小兔子09
阅读(5)
评论(0)
推荐(0)

浙公网安备 33010602011771号