fix: keep localStorage

This commit is contained in:
hongarc 2020-03-30 07:35:59 +07:00
parent 9f2c599d82
commit 09dc54c76a
2 changed files with 4 additions and 2 deletions

View file

@ -35,6 +35,8 @@ if (!util.isBrowser()) {
return keys[i] || null;
}
};
} else {
var localStorage = window.localStorage;
}
try {