Improve article

This commit is contained in:
2025-05-27 18:46:32 +08:00
parent 7bcae71495
commit c4c2d7d9f7
4 changed files with 98 additions and 81 deletions

View File

@@ -60,7 +60,7 @@ class Network {
return;
}
const res = await this.getMe()
if (!res.success && res.message.includes("Invalid token")) {
if (!res.success && (res.message.includes("Invalid token") || res.message.includes("User not found"))) {
app.token = null;
app.user = null;
app.saveData();