优化登录重试与配置清理

This commit is contained in:
yml2213
2026-06-24 10:20:33 +08:00
parent 72248eb3cc
commit 0d03b2c242
19 changed files with 136 additions and 273 deletions
+2 -1
View File
@@ -12,7 +12,8 @@ import ProxyPage from './pages/ProxyPage';
import UsersPage from './pages/UsersPage';
import CookiePage from './pages/CookiePage';
import { getUser } from './store/auth';
import { ThemeProvider, useTheme } from './store/theme';
import { ThemeProvider } from './store/theme';
import { useTheme } from './store/useTheme';
function AppContent() {
// 用 state 驱动重渲染,登录/登出时调 refreshAuth()