mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-02-13 00:55:01 +08:00
🎈 perf:优化标签栏图标取值
This commit is contained in:
parent
c40ca1333d
commit
8c2ecbd7aa
@ -358,12 +358,13 @@ watch(
|
|||||||
>
|
>
|
||||||
<Icon
|
<Icon
|
||||||
v-if="
|
v-if="
|
||||||
item?.matched &&
|
tagsViewIcon &&
|
||||||
item?.matched[1] &&
|
(item?.meta?.icon ||
|
||||||
item?.matched[1]?.meta?.icon &&
|
(item?.matched &&
|
||||||
tagsViewIcon
|
item.matched[0] &&
|
||||||
|
item.matched[item.matched.length - 1].meta?.icon))
|
||||||
"
|
"
|
||||||
:icon="item?.matched[1]?.meta?.icon"
|
:icon="item?.meta?.icon || item.matched[item.matched.length - 1].meta.icon"
|
||||||
:size="12"
|
:size="12"
|
||||||
class="mr-5px"
|
class="mr-5px"
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user