Commit 9a842983a280940ea1454f44b59bfef595d777ca
1 parent
24457054
perf: organzation tree fold button event tigger area
Showing
1 changed file
with
2 additions
and
1 deletions
| ... | ... | @@ -3,8 +3,9 @@ |
| 3 | 3 | <div |
| 4 | 4 | class="cursor-pointer flex py-4 fold-icon absolute rounded svg:fill-gray-400 hover:bg-gray-200" |
| 5 | 5 | :class="foldFlag ? '' : '-right-4'" |
| 6 | + @click="handleFold" | |
| 6 | 7 | > |
| 7 | - <div @click="handleFold"> | |
| 8 | + <div> | |
| 8 | 9 | <CaretRightOutlined |
| 9 | 10 | :class="[foldFlag ? '' : 'rotate-180']" |
| 10 | 11 | class="transform fill-gray-100" | ... | ... |