mirror of https://github.com/alibaba/ice.git
fix: bug fixed (#6803)
This commit is contained in:
parent
4bce5d79fb
commit
511bfbc1b1
|
|
@ -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] || '';
|
||||
|
|
|
|||
Loading…
Reference in New Issue