Files
Web_Template_Vue3_Dev/AI-Coding/openspec-lite/modules/vab-nav.yaml

30 lines
1.0 KiB
YAML
Raw 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-nav顶部导航条聚合
module:
id: vab-nav
name: VabNav顶部导航条
type: ui
entrypoints:
- library/components/VabNav/index.vue
public_api:
concept:
- "顶部导航聚合左侧Fold + Tabs/Breadcrumb右侧ErrorLog/Lock/Search/Notice/FullScreen/Language/Theme/Refresh/Avatar"
dependency_closure:
runtime:
- "store-routestab/tabMenu/routes"
- "vue-routeruseRouter"
- "utils/validateisExternal"
- "configopenFirstMenu"
- "i18ntranslate()"
- "Element Plusel-row/el-col/el-tabs/el-tab-pane"
- "ComponentsVabFold/VabBreadcrumb/VabErrorLog/VabLock/VabSearch/VabNotice/VabFullScreen/VabLanguage/VabTheme/VabRefresh/VabAvatar"
acceptance:
- "layout='comprehensive' 时显示顶部 tabs否则显示面包屑hidden-xs-only"
- "点击 tab外链 window.open否则openFirstMenu=true跳 redirect 或自身"
pitfalls:
- "强依赖多组件与 routesStore 输出结构;抽取时必须把依赖组件闭包一起带走"