feat: 提交多个新UI组件模块spec和相关属性设定,包括卡片封装、渐变卡片、列式布局组件等,重写了readme.md,用于AI Coding
Some checks are pending
Call HTTPS API / build (push) Waiting to run
Some checks are pending
Call HTTPS API / build (push) Waiting to run
This commit is contained in:
25
AI-Coding/openspec-lite/modules/vab-refresh.yaml
Normal file
25
AI-Coding/openspec-lite/modules/vab-refresh.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
# Module Spec:vab-refresh(刷新当前路由视图)
|
||||
|
||||
module:
|
||||
id: vab-refresh
|
||||
name: VabRefresh(刷新按钮)
|
||||
type: ui
|
||||
entrypoints:
|
||||
- library/components/VabRefresh/index.vue
|
||||
|
||||
public_api:
|
||||
concept:
|
||||
- "点击后通过事件总线发布 reload-router-view,刷新当前 router-view 缓存"
|
||||
|
||||
dependency_closure:
|
||||
runtime:
|
||||
- "store-settings:theme.showRefresh(是否显示按钮)"
|
||||
- "plugin-vab:$pub(发布事件)"
|
||||
related_modules:
|
||||
- "vab-router-view:订阅并处理 reload-router-view"
|
||||
|
||||
acceptance:
|
||||
- "theme.showRefresh=true 时显示图标,点击触发 $pub('reload-router-view')"
|
||||
|
||||
pitfalls:
|
||||
- "未安装 plugin-vab 或未接入 vab-router-view 时,点击不会产生效果"
|
||||
Reference in New Issue
Block a user