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: {
|
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user