fix(settings): add stop modifier to delete button click
Prevent click event from bubbling to row toggle handler Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -72,8 +72,8 @@ function onProviderChange() {
|
|||||||
<div class="cell cell-status" :style="{ color: statusConfig.color }">
|
<div class="cell cell-status" :style="{ color: statusConfig.color }">
|
||||||
{{ statusConfig.icon }} {{ statusConfig.label }}
|
{{ statusConfig.icon }} {{ statusConfig.label }}
|
||||||
</div>
|
</div>
|
||||||
<div class="cell cell-actions" @click.stop>
|
<div class="cell cell-actions">
|
||||||
<button class="icon-btn danger" @click="emit('delete')" title="删除">
|
<button class="icon-btn danger" @click.stop="emit('delete')" title="删除">
|
||||||
<Trash2 :size="12" />
|
<Trash2 :size="12" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user