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,8 +3,9 @@ | ||
3 | <div | 3 | <div |
4 | class="cursor-pointer flex py-4 fold-icon absolute rounded svg:fill-gray-400 hover:bg-gray-200" | 4 | class="cursor-pointer flex py-4 fold-icon absolute rounded svg:fill-gray-400 hover:bg-gray-200" |
5 | :class="foldFlag ? '' : '-right-4'" | 5 | :class="foldFlag ? '' : '-right-4'" |
6 | + @click="handleFold" | ||
6 | > | 7 | > |
7 | - <div @click="handleFold"> | 8 | + <div> |
8 | <CaretRightOutlined | 9 | <CaretRightOutlined |
9 | :class="[foldFlag ? '' : 'rotate-180']" | 10 | :class="[foldFlag ? '' : 'rotate-180']" |
10 | class="transform fill-gray-100" | 11 | class="transform fill-gray-100" |