2023年06月15日:fix: expand clickable area of collapse-icon

pull/397/head
YunaiV 2024-02-29 00:10:24 +08:00
parent aebb04a7c2
commit 4231a7d133
1 changed files with 1 additions and 2 deletions

View File

@ -24,13 +24,12 @@ const toggleCollapse = () => {
</script>
<template>
<div :class="prefixCls">
<div :class="prefixCls" @click="toggleCollapse">
<Icon
:color="color"
:icon="collapse ? 'ep:expand' : 'ep:fold'"
:size="18"
class="cursor-pointer"
@click="toggleCollapse"
/>
</div>
</template>