Use v-if in the expand button for performance
This commit is contained in:
parent
81852d1f90
commit
c8d8dffecc
|
|
@ -39,7 +39,7 @@
|
|||
@click="onClick">
|
||||
...
|
||||
</button>
|
||||
<span v-show="!isCollapsed">
|
||||
<span v-if="!isCollapsed">
|
||||
<slot name="expanded"></slot>
|
||||
</span>
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue