消除快捷按钮点击闪动

This commit is contained in:
fish
2026-05-03 21:10:08 +08:00
parent 5d0299c6e0
commit 526903bf4a

View File

@@ -88,7 +88,7 @@ onMounted(async () => {
<el-button type="primary" :loading="loading" @click="reload">查询</el-button>
</el-form-item>
<el-form-item label="快捷">
<el-button-group>
<el-button-group class="signal-group">
<el-button
:type="filter.signal === '强烈看多' ? 'success' : ''"
@click="toggleSignal('强烈看多')"
@@ -169,6 +169,14 @@ onMounted(async () => {
.filter-card :deep(.el-card__body) {
padding: 12px 16px;
}
.signal-group :deep(.el-button) {
transition: none !important;
}
.signal-group :deep(.el-button:focus),
.signal-group :deep(.el-button:active) {
outline: none;
box-shadow: none;
}
.score-table {
background: var(--el-bg-color);
}