xue-jn
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
packages/@core/ui-kit/shadcn-ui/src/ui/tree/tree.vue
|
|
|
@ -287,7 +287,7 @@ defineExpose({ |
|
|
|
class="tree-node focus:ring-grass8 my-0.5 flex items-center rounded px-2 py-1 outline-none focus:ring-2" |
|
|
|
> |
|
|
|
<ChevronRight |
|
|
|
v-if="item.hasChildren" |
|
|
|
v-if="item.hasChildren && Array.isArray(item.value[childrenField]) && item.value[childrenField].length > 0" |
|
|
|
class="size-4 cursor-pointer transition" |
|
|
|
:class="{ 'rotate-90': isExpanded }" |
|
|
|
@click.stop=" |
|
|
|
|