Files

26 lines
734 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-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 时,点击不会产生效果"