Files

32 lines
1015 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Module Specvab-notice消息中心
module:
id: vab-notice
name: VabNotice消息中心/通知)
type: ui
entrypoints:
- library/components/VabNotice/index.vue
public_api:
concept:
- "显示通知 badge弹出 popover + tabs 展示通知/邮件"
- "从 api/notice.getList 拉取数据并计算 badge"
- "提供清空消息入口(仅清空前端列表与 badge并提示"
dependency_closure:
runtime:
- "store-settingstheme.showNotice"
- "api/noticegetList"
- "plugin-vab$baseMessage清空提示通过 inject 获取)"
- "i18ntranslate"
- "Element Plusel-badge/el-popover/el-tabs/el-tab-pane/el-scrollbar/el-avatar/el-button"
- "VabIcon"
acceptance:
- "theme.showNotice=true 时显示通知入口与 badge"
- "点击/切换 tab 会触发 fetchData 更新列表"
pitfalls:
- "数据协议依赖 notice.getList 的返回结构list/total"
- "清空仅影响前端状态,不等价于后端已读/删除"