fix(PresetPanel): preset panel stopPropagation (#7550)
parent
1d0fa8533a
commit
b82d8dd2ad
|
@ -22,7 +22,8 @@ export default defineComponent({
|
|||
{props.presets.map(({ label, value }, index) => (
|
||||
<li
|
||||
key={index}
|
||||
onClick={() => {
|
||||
onClick={e => {
|
||||
e.stopPropagation();
|
||||
props.onClick(value);
|
||||
}}
|
||||
onMouseenter={() => {
|
||||
|
|
Loading…
Reference in New Issue