From 7ad480e23af1183f76df06cab3ed3a5bea97866d Mon Sep 17 00:00:00 2001 From: FatttSnake Date: Wed, 24 Jan 2024 14:35:41 +0800 Subject: [PATCH] Optimize code --- src/AuthRoute.tsx | 1 + src/pages/System/Statistics/OnlineInfo.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AuthRoute.tsx b/src/AuthRoute.tsx index c93526f..fa7241d 100644 --- a/src/AuthRoute.tsx +++ b/src/AuthRoute.tsx @@ -22,6 +22,7 @@ const AuthRoute = () => { if (!isLogin) { return ( ) diff --git a/src/pages/System/Statistics/OnlineInfo.tsx b/src/pages/System/Statistics/OnlineInfo.tsx index 03ea1a4..59704af 100644 --- a/src/pages/System/Statistics/OnlineInfo.tsx +++ b/src/pages/System/Statistics/OnlineInfo.tsx @@ -121,7 +121,7 @@ const OnlineInfo = () => { disabled={isLoading} style={{ width: '8em' }} > - 今天 + 最近24小时 最近7天 最近30天 最近3个月