兰宝车间质量管理系统-前端
疯狂的狮子Li
2024-11-05 fdfb556c8e1eb40c61e8867297109b7afea5de71
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;