src/layout/components/Navbar.vue
@@ -128,6 +128,7 @@ dynamic.value = true; proxy?.$tab.closeAllPage(); proxy?.$router.push('/'); proxy?.$tab.refreshPage(); } }; @@ -136,11 +137,12 @@ dynamic.value = false; proxy?.$tab.closeAllPage(); proxy?.$router.push('/'); proxy?.$tab.refreshPage(); }; /** 租户列表 */ const initTenantList = async () => { const { data } = await getTenantList(); const { data } = await getTenantList(true); tenantEnabled.value = data.tenantEnabled === undefined ? true : data.tenantEnabled; if (tenantEnabled.value) { tenantList.value = data.voList;