-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: 去除多余的 TotalsStatus,只保留 TotalStatus #2623
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Size Change: +49 B (0%) Total Size: 318 kB
ℹ️ View Unchanged
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #2623 +/- ##
==========================================
+ Coverage 75.77% 79.03% +3.26%
==========================================
Files 257 274 +17
Lines 11994 12392 +398
Branches 2464 2529 +65
==========================================
+ Hits 9088 9794 +706
+ Misses 1398 1061 -337
- Partials 1508 1537 +29 ☔ View full report in Codecov by Sentry. |
@@ -112,6 +113,7 @@ export class PivotFacet extends FrozenFacet { | |||
const isTotals = | |||
row.isTotals || row.isTotalMeasure || col.isTotals || col.isTotalMeasure; | |||
|
|||
const totalStatus = getHeaderTotalStatus(row, col); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
master 上是有这个逻辑的,似乎是合代码合掉了
🎉 This PR is included in version @antv/s2-v2.0.0-next.17 🎉 The release is available on: Your semantic-release bot 📦🚀 |
👀 PR includes
✨ Feature
🎨 Enhance
🐛 Bugfix
🔧 Chore
📝 Description
TotalsStatus
, 保留TotalStatus
TotalStatus
中总计配置增加Grand
关键字,保持风格统一🖼️ Screenshot
🔗 Related issue link
🔍 Self-Check before the merge