feat(frontend): wire pages to shadcn bridge and modular helpers

This commit is contained in:
Sagit
2026-02-19 05:15:26 +00:00
parent 12c50df6a7
commit 30c96a280d
27 changed files with 1077 additions and 1971 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
import { clearSession } from "@/utils/session";
/**
* 安全退出登录函数
* 清除登录相关数据,但保留用户偏好设置(如主题)
*/
export const safeLogout = () => {
localStorage.clear();
clearSession();
};