Browse Source
Merge branch 'main' into feature/scroll_to_the_error_field
pull/6482/head
Jin Mao
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
1 deletions
-
packages/@core/ui-kit/shadcn-ui/src/ui/tree/tree.vue
|
|
|
@ -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" |
|
|
|
> |
|
|
|
<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="{ 'rotate-90': isExpanded }" |
|
|
|
@click.stop=" |
|
|
|
|