fix(theme): fix use admin decrypt page error

This commit is contained in:
pengzhanbo 2025-11-09 14:59:10 +08:00
parent 336205627e
commit a63c094df9

View File

@ -126,7 +126,7 @@ export function setupEncrypt(): void {
if (!hasPageEncrypt.value)
return true
const hash = splitHash(storage.value.p.__GLOBAL__ || '')
const hash = splitHash(storage.value.g || '')
if (hash && encrypt.value.admins.includes(hash))
return true