Skip to content

Commit

Permalink
Prettified Code!
Browse files Browse the repository at this point in the history
  • Loading branch information
hengyunabc authored and actions-user committed Nov 27, 2024
1 parent 8e4dd90 commit 3bc5053
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/docs/.vuepress/theme/components/NavbarDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ const isLastItemOfArray = (item, arr) => arr[arr.length - 1] === item;
:item="child"
@focusout="
isLastItemOfArray(child, item.children) &&
child.children.length === 0 &&
(open = false)
child.children.length === 0 &&
(open = false)
"
/>

Expand All @@ -104,8 +104,8 @@ const isLastItemOfArray = (item, arr) => arr[arr.length - 1] === item;
:item="grandchild"
@focusout="
isLastItemOfArray(grandchild, child.children) &&
isLastItemOfArray(child, item.children) &&
(open = false)
isLastItemOfArray(child, item.children) &&
(open = false)
"
/>
</li>
Expand Down

0 comments on commit 3bc5053

Please sign in to comment.