mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
add removing balance
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user