Skip to content
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

🐛 下钻场景下的总计/小计展示错误 #953

Closed
lcx-seima opened this issue Dec 27, 2021 · 4 comments
Closed

🐛 下钻场景下的总计/小计展示错误 #953

lcx-seima opened this issue Dec 27, 2021 · 4 comments
Assignees
Labels

Comments

@lcx-seima
Copy link
Contributor

🏷 Version

Package Version
@antv/s2 1.4.0 or 1.4.0-alpha.4
@antv/s2-react 1.4.0 or 1.4.0-alpha.4

🖋 Description

前提:

  • 下钻场景下开启总计/小计
  • totalData 仅提供到城市维度的数据(不含下钻维度) { province: "浙江", city: "杭州", price: 666 }

点击某个下钻维度开始下钻后(图上等于 rows 新增了维度 sex),实际并未提供对应新下钻行的总计/小计数据,却会意外继承展示父级的汇总数据:

CleanShot 2021-12-27 at 14 45 54

⌨️ Code Snapshots

https://codesandbox.io/s/cocky-brook-e2y20?file=/src/useData.tsx

🔗 Reproduce Link

🤔 Steps to Reproduce

😊 Expected Behavior

😅 Current Behavior

💻 System information

@lcx-seima lcx-seima added the 🐛 bug 这个是一个 bug label Dec 27, 2021
@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.5.0-alpha.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.6.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.7.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.8.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants