Commit 8c2ecbd7 by preschool

🎈 perf:优化标签栏图标取值

parent c40ca133
...@@ -358,12 +358,13 @@ watch( ...@@ -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"
/> />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment