生产管理系统 - 设备类型管理、设备参数管理

This commit is contained in:
2025-11-01 11:46:13 +08:00
parent cb46f91846
commit 3459cae699
17 changed files with 2806 additions and 1 deletions

View File

@@ -177,7 +177,7 @@ export function AuthProvider({ children }: AuthProviderProps) {
// 每 1 分钟刷新一次 token
refreshTimerRef.current = setInterval(() => {
refreshAccessToken();
}, 5 * 60 * 1000); // 60 秒 = 1 分钟
}, 5 * 1000); // 60 秒 = 1 分钟
console.log('🕐 Token 自动刷新定时器已启动每5分钟');
};