Browse Source

types: 扩展user-dropdown组件的menus类型,支持iconify (#6283)

Co-authored-by: 车文烨 <chewy@china-lehua.com>
pull/6327/head
chewenye 8 months ago
committed by GitHub
parent
commit
ea776aa710
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      packages/effects/layouts/src/widgets/user-dropdown/user-dropdown.vue

6
packages/effects/layouts/src/widgets/user-dropdown/user-dropdown.vue

@ -46,7 +46,11 @@ interface Props {
/**
* 菜单数组
*/
menus?: Array<{ handler: AnyFunction; icon?: Component; text: string }>;
menus?: Array<{
handler: AnyFunction;
icon?: Component | Function | string;
text: string;
}>;
/**
* 标签文本

Loading…
Cancel
Save