From cc2d1551b7f19e390188fe9b4ffe28149264830e Mon Sep 17 00:00:00 2001 From: nanjingcaiyong <2872845261@qq.com> Date: Thu, 3 Dec 2020 16:10:13 +0800 Subject: [PATCH] Fix: The props of the subpopupmenum component is missing the submenuopendelay and submenclosedelay properties (#3291) * fix: the button's loading property without delay * fix: missing the submenuopendelay and submenclosedelay properties Co-authored-by: caiyong --- components/vc-menu/SubPopupMenu.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/vc-menu/SubPopupMenu.jsx b/components/vc-menu/SubPopupMenu.jsx index 12f96927e..eca8ae7ac 100644 --- a/components/vc-menu/SubPopupMenu.jsx +++ b/components/vc-menu/SubPopupMenu.jsx @@ -108,6 +108,8 @@ const SubPopupMenu = { expandIcon: PropTypes.any, overflowedIndicator: PropTypes.any, children: PropTypes.any.def([]), + subMenuOpenDelay: PropTypes.number.def(0.1), + subMenuCloseDelay: PropTypes.number.def(0.1), forceSubMenuRender: PropTypes.looseBool.def(false), parentUniKeys: PropTypes.array.def(() => []), parentUniKey: PropTypes.string,