@@ -7,7 +7,7 @@ import { throttle } from 'lodash-es'
// --- 关键修改:将变量移到函数外部,变成全局共享变量 ---
let timer: ReturnType<typeof setTimeout> | null = null
-const TIMEOUT = 30 * 1000 // 30分钟
+const TIMEOUT = 30 * 60 * 1000 // 30分钟
const events = ['click', 'mousedown', 'keydown', 'scroll', 'mousemove']
export function useAutoLogout() {