style: remove ref

This commit is contained in:
Starry 2024-03-30 17:55:22 +08:00
parent 83e4b55705
commit d222639e4c

View File

@ -29,13 +29,7 @@ limitations under the License. -->
</div> </div>
<div class="trace flex-h"> <div class="trace flex-h">
<TraceList class="trace-list" :style="`width: ${currentWidth}px;`" /> <TraceList class="trace-list" :style="`width: ${currentWidth}px;`" />
<div <div @mouseover="showIcon = true" @mousedown="mousedown($event)" @mouseout="showIcon = false" @mouseup="mouseup">
ref="dragger"
@mouseover="showIcon = true"
@mousedown="mousedown($event)"
@mouseout="showIcon = false"
@mouseup="mouseup"
>
<div class="trace-line" /> <div class="trace-line" />
<span class="trace-icon" v-show="showIcon" @click="triggerArrow"> <span class="trace-icon" v-show="showIcon" @click="triggerArrow">
<Icon class="trace-arrow" :icon-name="isLeft ? 'chevron-left' : 'chevron-right'" size="lg" /> <Icon class="trace-arrow" :icon-name="isLeft ? 'chevron-left' : 'chevron-right'" size="lg" />