mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-01 18:17:46 +00:00
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:
2
types/vue-router.d.ts
vendored
2
types/vue-router.d.ts
vendored
@@ -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;
|
||||
|
Reference in New Issue
Block a user