Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/S2Public

🐛当行数据最后一个值相同时会缺失合并后的值 #3111

Closed
@byronbyyuan

Description

@byronbyyuan

🏷 S2 Version / S2 版本

PackageVersion
@antv/s22.1.12

💻 Sheet Type / 表格类型

  • PivotSheet
  • TableSheet
  • PivotChartSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Describe the bug / 问题描述

当行的最后一个字段数据值一致时,合并行丢失,如果最后一个不一致则正常展示
Image

Image

⌨️ Code Snapshots / 代码片段

    const s2 = new PivotSheet(this.container, this.option, {      width: this.container.offsetWidth,      height: this.container.offsetHeight,      supportCSSTransform: true,      showDefaultHeaderActionIcon: true,      autoAdjustBoundary: 'body',      customSVGIcons: this.buildCustomSvg(),      headerActionIcons: this.buildHeaderActionIcon(),      tooltip: this.buildTooltip(),      theme: this.theme,      ...this.s2Options,    });    this.s2 = s2;    await s2.render();

🔗 Reproduction link / 复现链接

No response

📋 Steps to Reproduce the Bug or Issue / 重现步骤

{    "fields": {        "rows": [            "品牌",            "型号",            "系列"        ],        "columns": [],        "values": [            "行驶公里数",            "充电次数",            "电耗",            "启动次数",            "算力消耗",            "摄像头扫描次数"        ],        "valueInCols": true    },    "meta": [        {            "field": "品牌",            "name": "品牌",            "isRow": true        },        {            "field": "型号",            "name": "型号",            "isRow": true        },        {            "field": "系列",            "name": "系列",            "isRow": true        },        {            "field": "行驶公里数",            "name": "行驶公里数"        },        {            "field": "充电次数",            "name": "充电次数"        },        {            "field": "电耗",            "name": "电耗"        },        {            "field": "启动次数",            "name": "启动次数"        },        {            "field": "算力消耗",            "name": "算力消耗"        },        {            "field": "摄像头扫描次数",            "name": "摄像头扫描次数"        }    ],    "data": [        {            "行驶公里数": 68,            "充电次数": 0,            "电耗": 13.17,            "启动次数": 1,            "算力消耗": 3,            "摄像头扫描次数": 142,            "品牌": "Tesla",            "型号": "Model 3",            "系列": "Performance All-Wheel",            "_unique_metric_": "Tesla,Model 3,Performance All-Wheel",            "union_dim": "品牌,型号,系列"        },        {            "行驶公里数": 70,            "充电次数": 0,            "电耗": 15.02,            "启动次数": 2,            "算力消耗": 2,            "摄像头扫描次数": 132,            "品牌": "Tesla",            "型号": "Model Y",            "系列": "Standard Range Rear-Wheel",            "_unique_metric_": "Tesla,Model Y,Performance All-Wheel",            "union_dim": "品牌,型号,系列"        },        {            "行驶公里数": 64,            "充电次数": 0,            "电耗": 11.52,            "启动次数": 3,            "算力消耗": 1.5,            "摄像头扫描次数": 174,            "品牌": "Tesla",            "型号": "Model Y",            "系列": "Standard Range Rear-Wheel",            "_unique_metric_": "Tesla,Model Y,Standard Range Rear-Wheel",            "union_dim": "品牌,型号,系列"        }    ],}

使用以上数据

😊 Expected Behavior / 期望行为

预期应该是 出现合并的单元格正常展示行数据

😅 Current Behavior / 当前行为

No response

💻 OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

🌏 Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp