diff --git a/web/app.js b/web/app.js
index 09cdd3e..35980b2 100644
--- a/web/app.js
+++ b/web/app.js
@@ -33,7 +33,7 @@ function notify(message,type='success') {
function badge(status){const [label,color]=statusMap[status] || ['待处理','secondary'];return `${label}`;}
function navItem(id,symbol){return `
${window.AppNavigation.icon(symbol)}${id==='order-notifications'?'订单通知管理':views[id][0]}`;}
function shell() {
- root.innerHTML=`${esc(currentUser.username)}
${roles[currentUser.role]}
修改密码 `;
+ root.innerHTML=`${esc(currentUser.username)}
${roles[currentUser.role]}
修改密码 `;
document.querySelector('#logout').onclick=()=>window.PageLifecycle.guard(async()=>{++viewGeneration;await window.BpmLogin?.dispose();await api('/logout',{});window.RecordState.clear();currentUser=null;clearInterval(refreshTimer);await window.PageLifecycle.dispose();await boot();});
document.querySelector('#refresh').onclick=()=>window.PageLifecycle.guard(()=>{const generation=viewGeneration;void updateAutomationStatus(()=>generation===viewGeneration&&!!currentUser);return window.RecordTable?.active?window.RecordTable.active.refresh():renderView();}).catch(error=>notify(error.message,'danger'));
document.querySelectorAll('[data-view]').forEach(link=>link.onclick=()=>{const menu=document.querySelector('#sidebar-menu');menu.classList.remove('show');if(menu.classList.contains('collapsing'))menu.addEventListener('shown.bs.collapse',()=>menu.classList.remove('show'),{once:true});document.querySelector('.navbar-toggler').setAttribute('aria-expanded','false');});