feat(Menu): Add custom images to menu (#3158)

* feat(SimpleMenu): Add custom images to menu icons

* style: Set image and text alignment

* feat: 顶部菜单模式路由也支持图片

* feat(mixSilder): 左侧菜单混合模式也支持图片显示

* style(menu): 调整图片对齐样式

* chore(Menu): 调整图片与文字间距样式

* chore: icon和img都传值的情况下, 仅显示img
This commit is contained in:
invalid w
2023-10-17 12:28:15 +08:00
committed by GitHub
parent a0e43abeab
commit b3a6ef63bb
5 changed files with 19 additions and 2 deletions

View File

@@ -21,6 +21,8 @@ declare module 'vue-router' {
affix?: boolean;
// icon on tab
icon?: string;
// img on tab
img?: string;
frameSrc?: string;
// current page transition
transitionName?: string;