mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
perf(Popup): reduce unused listener (#9896)
This commit is contained in:
parent
8ee394e115
commit
ee08a2611b
@ -71,7 +71,6 @@ export default defineComponent({
|
||||
emits: [
|
||||
'open',
|
||||
'close',
|
||||
'click',
|
||||
'opened',
|
||||
'closed',
|
||||
'update:show',
|
||||
@ -176,7 +175,6 @@ export default defineComponent({
|
||||
}
|
||||
};
|
||||
|
||||
const onClick = (event: MouseEvent) => emit('click', event);
|
||||
const onOpened = () => emit('opened');
|
||||
const onClosed = () => emit('closed');
|
||||
|
||||
@ -194,7 +192,6 @@ export default defineComponent({
|
||||
}),
|
||||
{ 'van-safe-area-bottom': safeAreaInsetBottom },
|
||||
]}
|
||||
onClick={onClick}
|
||||
{...attrs}
|
||||
>
|
||||
{slots.default?.()}
|
||||
|
Loading…
x
Reference in New Issue
Block a user