feat: 提交多个新UI组件模块spec和相关属性设定,包括卡片封装、渐变卡片、列式布局组件等,重写了readme.md,用于AI Coding
Some checks are pending
Call HTTPS API / build (push) Waiting to run

This commit is contained in:
2025-12-27 15:42:57 +08:00
parent fc9c726de4
commit 55abf26cfa
78 changed files with 3024 additions and 103 deletions

View File

@@ -0,0 +1,25 @@
# Module Specvab-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-settingstheme.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 时,点击不会产生效果"