Skip to content

[Bug] vtable 透视表树形展示,在没有行分组时报错 #3830

@xiafrog

Description

@xiafrog

Version

1.7.0

Link to Minimal Reproduction

https://visactor.io/vtable/demo-react/grammatical-tag/pivot-table

Steps to Reproduce

const tableProps = {
"records": [
{
person_preferred_namee87151be_5e12_4c27_b2c2_e5bea0999674: '',
person_preferred_namee87151be_5e12_4c27_b2c2_e5bea0999674_employment_card: '[]',
employment_idc11bcda1_6355_4685_8ca0_385ad2cdf642: '11152'
}
],
"indicators": [
{
cellType: 'text',
indicatorKey: 'employment_idc11bcda1_6355_4685_8ca0_385ad2cdf642',
title: '雇佣编号',
"style": {},
"headerStyle": {
textAlign: 'right'
}
}
],
rowHierarchyType: 'tree',
};

Current Behavior

渲染报错

Expected Behavior

Image

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions