fix(PresetPanel): preset panel stopPropagation (#7550)

This commit is contained in:
evanlc 2024-06-04 23:28:22 +08:00 committed by GitHub
parent 1d0fa8533a
commit b82d8dd2ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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={() => {