add removing balance

This commit is contained in:
Hepatica
2023-12-02 06:51:00 +01:00
parent 1abb58e267
commit 9e2a7136f4

View File

@@ -14,6 +14,7 @@ export default {
methods: { methods: {
logout() { logout() {
this.auth = false; this.auth = false;
this.balance = 0;
DeleteAllCookie(); DeleteAllCookie();
}, },
}, },
@@ -80,6 +81,7 @@ export default {
this.auth = true; this.auth = true;
} else { } else {
this.auth = false; this.auth = false;
this.balance = 0;
} }
}); });
} else { } else {
@@ -99,6 +101,7 @@ export default {
this.auth = true; this.auth = true;
} else { } else {
this.auth = false; this.auth = false;
this.balance = 0;
} }
} }
} catch (error) { } catch (error) {