Result
反馈
@rockshin/tao-ui展示操作结果,并提供继续或恢复操作。
何时使用
用于重要操作完成后或整页错误状态。短暂状态提示使用 message 或 notification。
示例
成功与下一步
操作按钮应说明下一步行为;此例仅更新本地状态。
信息、警告与错误
根据操作结果选择状态,并通过文字说明问题。
Import is queued
Open the import details to see the next step.
HTTP 错误页面
403、404、500 提供独立插画;标题和恢复建议由应用提供。
Page not found
Check your access or return to your workspace.
错误详情
children 用于展示可处理的详细原因,主标题保持简短。
Two records need attention
Fix the highlighted fields before retrying.
- Row 12: enter a valid email address.
- Row 28: choose a workspace owner.
自定义图标与语义样式
使用 Semantic DOM 分别定制图标、标题和正文。
Invitation prepared
Review the recipient before sending.