Prettified Code!

pull/2965/head
hengyunabc 3 months ago committed by GitHub Action
parent 8e4dd907ff
commit 3bc5053c69

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

Loading…
Cancel
Save