为移除匹配规则的q-ico点击事件添加阻止冒泡处理,修复导致配置面板自动折叠的BUG

This commit is contained in:
fofolee 2025-02-16 18:27:24 +08:00
parent 02f81db47c
commit 856e381726

View File

@ -95,7 +95,7 @@
<template v-slot:append> <template v-slot:append>
<q-icon <q-icon
name="cancel" name="cancel"
@click="removeRule(index)" @click.stop="removeRule(index)"
size="12px" size="12px"
class="cursor-pointer text-grey" class="cursor-pointer text-grey"
/> />
@ -120,7 +120,7 @@
</div> </div>
<q-icon <q-icon
name="cancel" name="cancel"
@click="removeRule(index + keyRules.length)" @click.stop="removeRule(index + keyRules.length)"
size="12px" size="12px"
class="cursor-pointer text-grey" class="cursor-pointer text-grey"
/> />