fix(modal): height calc error #161

This commit is contained in:
vben
2021-01-06 00:08:45 +08:00
parent 8d7d0835ad
commit 144ab577da
26 changed files with 162 additions and 112 deletions

View File

@@ -113,7 +113,6 @@
const activePath = ref('');
const chilrenMenus = ref<Menu[]>([]);
const openMenu = ref(false);
const isInit = ref(false);
const dragBarRef = ref<ElRef>(null);
const sideRef = ref<ElRef>(null);
const currentRoute = ref<Nullable<RouteLocationNormalized>>(null);
@@ -251,8 +250,8 @@
}
function handleClickOutside() {
setActive(true);
closeMenu();
setActive();
}
function getItemEvents(item: Menu) {