生产管理系统 模型服务接入、模型服务管理2个页面开发

This commit is contained in:
2025-11-01 15:32:48 +08:00
parent 3459cae699
commit 624fc38b21
22 changed files with 5635 additions and 15 deletions

View File

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