v3.3.0 — 左侧增加工作台切换侧边栏(科普/科研/医患)
This commit is contained in:
@@ -265,6 +265,8 @@ window.switchTenant = (tenant) => {
|
||||
state.projectView = null;
|
||||
const label = tenant.replace("·无界", "");
|
||||
document.querySelector("#workspaceTitle").textContent = label + " OPC 工作台";
|
||||
document.querySelector("#tenantSelect").value = tenant;
|
||||
document.querySelectorAll(".workspace-nav-item").forEach(el => el.classList.toggle("active", el.dataset.tenant === tenant));
|
||||
load();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user