From a63c094df941f198ece32346f9623c282d0f9b6a Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Sun, 9 Nov 2025 14:59:10 +0800 Subject: [PATCH] fix(theme): fix use admin decrypt page error --- theme/src/client/composables/encrypt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/src/client/composables/encrypt.ts b/theme/src/client/composables/encrypt.ts index c0f0349c..e968aaa0 100644 --- a/theme/src/client/composables/encrypt.ts +++ b/theme/src/client/composables/encrypt.ts @@ -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