fall-zhang / vue-fantable

Vue table component for huge data. 前端表格大型数据渲染解决方案。
https://fall-zhang.github.io/vue-fantable/
MIT License
23 stars 4 forks source link

合并后,选择框渲染不全 #10

Closed JustYummy closed 1 month ago

JustYummy commented 1 month ago

fan-table 的版本:^0.2.4

vue 的版本:^3.4.21

使用的浏览器:electron ^29.1.5

截屏2024-05-17 17 15 05

问题的类型(issue or feature):合并单元格后,选择框渲染不全

    const bodyCellSpanFnc = ({ row, column, rowIndex }: any) => {
      if (rowIndex === 1) {
        if (column.field === "col1") {
          return {
            rowspan: 1,
            colspan: 2,
          };
        } else if (column.field === "col2") {
          // does not need to be rendered
          return {
            rowspan: 0,
            colspan: 0,
          };
        }
      }
    };

对问题的详细说明:

fall-zhang commented 1 month ago

问题已经修复完成,将随着下个补丁版本的发布

fall-zhang commented 1 month ago

更新至 0.2.5 版本即可修复问题