chore: fix lint warning (#6487)

pull/168/head^2
Jin Mao 2025-07-07 08:21:25 +08:00 committed by GitHub
parent b333fd676d
commit bbf0287511
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -287,7 +287,11 @@ defineExpose({
class="tree-node focus:ring-grass8 my-0.5 flex items-center rounded px-2 py-1 outline-none focus:ring-2" class="tree-node focus:ring-grass8 my-0.5 flex items-center rounded px-2 py-1 outline-none focus:ring-2"
> >
<ChevronRight <ChevronRight
v-if="item.hasChildren && Array.isArray(item.value[childrenField]) && item.value[childrenField].length > 0" v-if="
item.hasChildren &&
Array.isArray(item.value[childrenField]) &&
item.value[childrenField].length > 0
"
class="size-4 cursor-pointer transition" class="size-4 cursor-pointer transition"
:class="{ 'rotate-90': isExpanded }" :class="{ 'rotate-90': isExpanded }"
@click.stop=" @click.stop="