refactor(frontend): merge authserver web login

This commit is contained in:
mac
2026-07-15 14:47:42 +08:00
parent 6af511ed0b
commit 81d2a8a60b
23 changed files with 178 additions and 1115 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
const TOKEN_KEY = 'xinfra_token'
const USER_KEY = 'xinfra_user'
const TOKEN_KEY = 'authserver_token'
const USER_KEY = 'authserver_user'
export function getToken(): string | null {
return localStorage.getItem(TOKEN_KEY)