mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
fix
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user