アカウント情報が更新されたときに永続化されない問題を修正
This commit is contained in:
parent
d0cf26b342
commit
90f738608f
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue