Skip to content

feat: 操作列 Action 文案与自定义列宽/showLength (1.1.101) - #176

Merged
luna7687 merged 2 commits into
masterfrom
luna
Sep 15, 2026
Merged

luna7687 merged 2 commits into
masterfrom
luna

Conversation

@luna7687

Copy link
Copy Markdown
Contributor

Summary

  • 操作列 locale key Operation → Action(英文显示 Action,中文仍为「操作」)
  • BizUnit 支持 options.showLength / options.optionsColumn 自定义外显按钮数与列宽
  • Tenant UserList、Admin User、TenantAdmin List 透传同名 props;Actions 转发 showLength
  • 版本:1.1.100 → 1.1.101

Test plan

  • 中文界面操作列表头仍为「操作」
  • 切换 EN 后表头为 Action
  • BizUnit:options={{ showLength: 2, optionsColumn: { width: 120 } }} 生效
  • UserList / Admin User:传 showLength、optionsColumn 生效;不传行为与原先一致

luna7687 and others added 2 commits September 15, 2026 15:37
仅调整 en-US 显示文案,中文与 locale key 不变。

Co-authored-by: Cursor <cursoragent@cursor.com>
统一操作列文案 key;BizUnit/Tenant/Admin/TenantAdmin 透传 optionsColumn 与 showLength,便于下游配置。

Co-authored-by: Cursor <cursoragent@cursor.com>
@luna7687
luna7687 merged commit ab28ed8 into master Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant