アカウント情報が更新されたときに永続化されない問題を修正

This commit is contained in:
syuilo 2021-02-11 16:06:19 +09:00
parent d0cf26b342
commit 90f738608f
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ export function updateAccount(data) {
for (const [key, value] of Object.entries(data)) { for (const [key, value] of Object.entries(data)) {
$i[key] = value; $i[key] = value;
} }
localStorage.setItem('account', JSON.stringify($i));
} }
export function refreshAccount() { export function refreshAccount() {