mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-29 18:48:32 +08:00
fix(PresetPanel): preset panel stopPropagation (#7550)
This commit is contained in:
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
Block a user