forked from opentiny/tiny-vue
fix(components): [Collapse] Collapse The foldable panel can only be expanded when clicking on the icon or text (#758)
This commit is contained in:
parent
b47370465e
commit
b538c831a6
|
@ -29,13 +29,14 @@
|
|||
}"
|
||||
@focus="handleFocus"
|
||||
@blur="state.focusing = false"
|
||||
@click="handleHeaderClick"
|
||||
>
|
||||
<div class="tiny-collapse-item__arrow" @click="handleHeaderClick">
|
||||
<div class="tiny-collapse-item__arrow" @click.stop="handleHeaderClick">
|
||||
<slot name="icon">
|
||||
<icon-chevron-right class="tiny-svg-size" :class="{ 'is-active': state.isActive }" />
|
||||
</slot>
|
||||
</div>
|
||||
<div class="tiny-collapse-item__word-overflow" @click="handleHeaderClick">
|
||||
<div class="tiny-collapse-item__word-overflow" @click.stop="handleHeaderClick">
|
||||
<slot name="title">{{ title }}</slot>
|
||||
</div>
|
||||
<div class="tiny-collapse-item__title__right">
|
||||
|
|
Loading…
Reference in New Issue