From 9e2a7136f4a7aea9871cf06c0b0ba876948cdb1a Mon Sep 17 00:00:00 2001 From: Hepatica Date: Sat, 2 Dec 2023 06:51:00 +0100 Subject: [PATCH] add removing balance --- luckydiamond/src/components/HeaderComponent.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/luckydiamond/src/components/HeaderComponent.vue b/luckydiamond/src/components/HeaderComponent.vue index 84c8e82..baf969c 100644 --- a/luckydiamond/src/components/HeaderComponent.vue +++ b/luckydiamond/src/components/HeaderComponent.vue @@ -14,6 +14,7 @@ export default { methods: { logout() { this.auth = false; + this.balance = 0; DeleteAllCookie(); }, }, @@ -80,6 +81,7 @@ export default { this.auth = true; } else { this.auth = false; + this.balance = 0; } }); } else { @@ -99,6 +101,7 @@ export default { this.auth = true; } else { this.auth = false; + this.balance = 0; } } } catch (error) {