feat: monitor button

This commit is contained in:
jialin
2026-02-04 20:14:25 +08:00
parent 47596fdb1a
commit 4e8b5e26ae
40 changed files with 352 additions and 176 deletions
+2
View File
@@ -7,6 +7,7 @@ import {
queryVersionInfo,
updateCheck
} from '@/services/profile/apis';
import { fetchSystemConfig } from '@/services/system/query-system-config';
import { isOnline } from '@/utils';
import {
IS_FIRST_LOGIN,
@@ -57,6 +58,7 @@ export async function getInitialState(): Promise<{
});
if (data.is_admin) {
getUpdateCheck();
fetchSystemConfig();
}
return data;
} catch (error: any) {