清除console log

This commit is contained in:
al 2024-12-27 13:01:04 +08:00
parent ef7dab7897
commit bd7469f7fa
1 changed files with 0 additions and 2 deletions

View File

@ -62,7 +62,6 @@ export async function checkRole() {
const account = get("account");
const userInfo = await getUserInfo(account.mid);
console.log("account", account.mid);
if (userInfo) {
if (userInfo.is_a_member !== account) {
save("account", userInfo);
@ -71,6 +70,5 @@ export async function checkRole() {
const role = userInfo?.role;
const isVip = userInfo?.is_a_member;
console.log(role, isVip, userInfo);
return role !== 0 || isVip === 1;
}