mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
🐛 修正过期判断逻辑
This commit is contained in:
@@ -116,7 +116,7 @@ const useHutaoStore = defineStore(
|
||||
if (!userInfo.value) return true;
|
||||
if (userInfo.value.IsMaintainer || userInfo.value.IsLicensedDeveloper) return false;
|
||||
const expire = new Date(userInfo.value.GachaLogExpireAt).getTime();
|
||||
return Date.now() < expire;
|
||||
return Date.now() > expire;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user