fix: bug fixed (#6803)

This commit is contained in:
jimizai 2024-02-22 11:02:11 +08:00 committed by GitHub
parent 4bce5d79fb
commit 511bfbc1b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ export const Storage = {
}
if (typeof window !== 'undefined' && window.localStorage) {
return localStorage.getItem(key);
return window.localStorage.getItem(key);
}
return cache[key] || '';