2023年06月15日:fix: expand clickable area of collapse-icon
(cherry picked from commit 4231a7d133
)
This commit is contained in:
parent
d383766d65
commit
8091e84176
@ -24,13 +24,12 @@ const toggleCollapse = () => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div :class="prefixCls">
|
<div :class="prefixCls" @click="toggleCollapse">
|
||||||
<Icon
|
<Icon
|
||||||
:color="color"
|
:color="color"
|
||||||
:icon="collapse ? 'ep:expand' : 'ep:fold'"
|
:icon="collapse ? 'ep:expand' : 'ep:fold'"
|
||||||
:size="18"
|
:size="18"
|
||||||
class="cursor-pointer"
|
class="cursor-pointer"
|
||||||
@click="toggleCollapse"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user