feat(dnfs): 用户面板折叠时不再显示用户名,仅显示展开按钮

This commit is contained in:
qing committed 2026-08-05 01:42:51 +08:00
1 parent 9dd16e0eef
commit 85c9699758
1 file changed
+1 -1
+1 -1
View File
@@ -1022,7 +1022,7 @@ function renderUserPanel() {
if (userpanel_expand) {
fold.textContent = "v 折叠";
} else {
fold.textContent = "> " + (current_user.login ? current_user.user : "未登录");
fold.textContent = "> 展开";
}
fold.addEventListener("click", () => {
userpanel_expand = !userpanel_expand;