-
Notifications
You must be signed in to change notification settings - Fork 196
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
[WIP] feat: 优化组件层-明细表切换到透视表时的布局效果 #2950
base: next
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Size Change: +70 B (+0.02%) Total Size: 336 kB
ℹ️ View Unchanged
|
@@ -62,6 +62,14 @@ export class PivotFacet extends FrozenFacet { | |||
return this.spreadsheet.options.colCell?.(...args) || new ColCell(...args); | |||
} | |||
|
|||
public render() { | |||
if (isEmpty(this.spreadsheet.dataCfg?.fields?.values)) { |
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.
values 为空时不重新构建 layout, 避免 react 组件层在明细切透视时闪烁
你好, @lijinke666 CI 执行失败, 请点击 [Details] 按钮查看, 并根据日志修复。 Hello, @lijinke666 CI run failed, please click the [Details] button for detailed log information and fix it. |
👀 PR includes
✨ Feature
📝 Description
🖼️ Screenshot
🔗 Related issue link
🔍 Self-Check before the merge