From f6868abbdbbdafc7835a4ec8321ac1f9d8e62d08 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Mon, 25 Oct 2021 16:02:53 +0800 Subject: [PATCH] fix: menu throw error at mobile, close #4794 --- components/vc-trigger/Popup/PopupInner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vc-trigger/Popup/PopupInner.tsx b/components/vc-trigger/Popup/PopupInner.tsx index 3d1dc33a1..9223eb7ab 100644 --- a/components/vc-trigger/Popup/PopupInner.tsx +++ b/components/vc-trigger/Popup/PopupInner.tsx @@ -123,7 +123,7 @@ export default defineComponent({ destroyPopupOnHide, onMouseenter, onMouseleave, - onTouchstart, + onTouchstart = () => {}, onMousedown, } = props as PopupInnerProps; const statusValue = status.value;