Skip to content

Commit f6868ab

Browse files
committed
fix: menu throw error at mobile, close #4794
1 parent 7d67e0e commit f6868ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-trigger/Popup/PopupInner.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export default defineComponent({
123123
destroyPopupOnHide,
124124
onMouseenter,
125125
onMouseleave,
126-
onTouchstart,
126+
onTouchstart = () => {},
127127
onMousedown,
128128
} = props as PopupInnerProps;
129129
const statusValue = status.value;

0 commit comments

Comments
 (0)