From 9cc8195237a0d29e151a30209dc722652dae2066 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期四, 16 一月 2025 16:49:43 +0800 Subject: [PATCH] update 优化 调整预览组件高度 --- src/layout/components/Navbar.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 6ac2f14..f821448 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -127,18 +127,18 @@ if (companyName.value != null && companyName.value !== '') { await dynamicTenant(tenantId); dynamic.value = true; - proxy?.$tab.closeAllPage(); - proxy?.$router.push('/'); - proxy?.$tab.refreshPage(); + await proxy?.$router.push('/'); + await proxy?.$tab.closeAllPage(); + await proxy?.$tab.refreshPage(); } }; const dynamicClearEvent = async () => { await dynamicClear(); dynamic.value = false; - proxy?.$tab.closeAllPage(); - proxy?.$router.push('/'); - proxy?.$tab.refreshPage(); + await proxy?.$router.push('/'); + await proxy?.$tab.closeAllPage(); + await proxy?.$tab.refreshPage(); }; /** 绉熸埛鍒楄〃 */ -- Gitblit v1.9.3