修复错误的 submenu folder 图标
Former-commit-id: 8996bc6219a4ed9bac803a1b07479f21fd43ff16 [formerly 8996bc6219a4ed9bac803a1b07479f21fd43ff16 [formerly 8996bc6219a4ed9bac803a1b07479f21fd43ff16 [formerly 8996bc6219a4ed9bac803a1b07479f21fd43ff16 [formerly 190335e3e7d2c558c7a6e2c81ab9ed0e0de0c48b [formerly e66740f180407ad56c720b1350ac167089eda379]]]]] Former-commit-id: c8236d0c3c71563870b2cd5add1750039326b3ef Former-commit-id: a0b355caf4e26d9da2d9a56afbcaf8281ea8f430 Former-commit-id: a7d6279b84edb3e35ec1aae5b26bc398f1ae8af3 [formerly 984bb7b7ce4ab76376694662f571d805614f3486] Former-commit-id: c919f5ab5a1b39c13cd478dbda20b6146f0bfafc Former-commit-id: acd7fee07b3eedabffb03871a5aca4bf72900e16 Former-commit-id: 813f583b1123d8340697ecf7ae9db805de078c52 Former-commit-id: 2a57e2205c555a57c82f1ac615b7ead574f36208 Former-commit-id: 1d8947da048d8ea95433b517acbb2a281762a767
This commit is contained in:
@@ -21,7 +21,7 @@ export function elSubmenu (createElement, menu) {
|
|||||||
createElement('i', { slot: 'title', attrs: { class: `fa fa-${menu.icon}` } })
|
createElement('i', { slot: 'title', attrs: { class: `fa fa-${menu.icon}` } })
|
||||||
] : [],
|
] : [],
|
||||||
...menu.icon === undefined & !menu.iconSvg ? [
|
...menu.icon === undefined & !menu.iconSvg ? [
|
||||||
createElement('i', { slot: 'title', attrs: { class: 'fa fa-file-o' } })
|
createElement('i', { slot: 'title', attrs: { class: 'fa fa-folder-o' } })
|
||||||
] : [],
|
] : [],
|
||||||
...menu.iconSvg ? [
|
...menu.iconSvg ? [
|
||||||
createElement('d2-icon-svg', { slot: 'title', props: { name: menu.iconSvg } })
|
createElement('d2-icon-svg', { slot: 'title', props: { name: menu.iconSvg } })
|
||||||
|
|||||||
Reference in New Issue
Block a user