improve disableAuth handling

This commit is contained in:
LouisLam
2021-08-03 13:07:20 +08:00
parent 5689b30985
commit 8ebaca4c5c
2 changed files with 13 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ export default {
enableAuth() {
this.settings.disableAuth = false;
this.saveSettings();
this.$root.storage().token = null;
this.$root.storage().removeItem("token");
},
},