fix: vben tree component warning (#5809)
This commit is contained in:
parent
3c2d325d8c
commit
c2b5f6497d
@ -210,7 +210,7 @@ defineExpose({
|
||||
v-slot="{ flattenItems }"
|
||||
:class="
|
||||
cn(
|
||||
'text-blackA11 select-none list-none rounded-lg p-2 text-sm font-medium',
|
||||
'text-blackA11 container select-none list-none rounded-lg p-2 text-sm font-medium',
|
||||
$attrs.class as unknown as ClassType,
|
||||
bordered ? 'border' : '',
|
||||
)
|
||||
@ -219,11 +219,7 @@ defineExpose({
|
||||
<div class="w-full" v-if="$slots.header">
|
||||
<slot name="header"> </slot>
|
||||
</div>
|
||||
<TransitionGroup
|
||||
:name="transition ? 'fade' : ''"
|
||||
mode="out-in"
|
||||
class="container"
|
||||
>
|
||||
<TransitionGroup :name="transition ? 'fade' : ''">
|
||||
<TreeItem
|
||||
v-for="item in flattenItems"
|
||||
v-slot="{
|
||||
|
Loading…
Reference in New Issue
Block a user