fix(projects): fix active tab switch issue after removal (#723)

This commit is contained in:
C_7
2025-03-19 22:37:35 +08:00
committed by GitHub
parent a6ecd3e083
commit a7c59adabc
2 changed files with 8 additions and 17 deletions

View File

@ -63,7 +63,7 @@ function handleClose() {
<slot></slot>
<template #suffix>
<slot name="suffix">
<SvgClose v-if="closable" :class="[style['svg-close']]" @click.stop="handleClose" />
<SvgClose v-if="closable" :class="[style['svg-close']]" @pointerdown.stop="handleClose" />
</slot>
</template>
</component>