This commit is contained in:
2024-04-20 02:12:00 +08:00
parent 2f306430b1
commit 2e66c457cc

View File

@@ -18,7 +18,7 @@ export async function GetSelfAccount() {
if (cookie.value) { if (cookie.value) {
const result = await Self() const result = await Self()
if (result.code == 200) { if (result.code == 200) {
if (!ACCOUNT.value) { if (!ACCOUNT.value.id) {
ACCOUNT.value = result.data ACCOUNT.value = result.data
} else { } else {
result.data.settings = ACCOUNT.value.settings result.data.settings = ACCOUNT.value.settings