diff --git a/components/vc-menu/Menu.jsx b/components/vc-menu/Menu.jsx index 55a47cb37..ae559e937 100644 --- a/components/vc-menu/Menu.jsx +++ b/components/vc-menu/Menu.jsx @@ -34,7 +34,7 @@ const Menu = { watch( () => props.selectedKeys, () => { - selectedKeys.value = props.selectedKeys; + selectedKeys.value = props.selectedKeys || []; }, ); watch(