diff --git a/src/components/Menu/src/BasicMenu.vue b/src/components/Menu/src/BasicMenu.vue index 80cfd70a..0d0e20fb 100644 --- a/src/components/Menu/src/BasicMenu.vue +++ b/src/components/Menu/src/BasicMenu.vue @@ -134,7 +134,9 @@ isClickGo.value = false; return; } - const path = (route || unref(currentRoute)).path; + const path = + (route || unref(currentRoute)).meta?.currentActiveMenu || + (route || unref(currentRoute)).path; setOpenKeys(path); if (unref(currentActiveMenu)) return; if (props.isHorizontal && unref(getSplit)) {