Skip to content

Commit

Permalink
fix limitedFunc
Browse files Browse the repository at this point in the history
  • Loading branch information
Zing22 committed Nov 16, 2024
1 parent b166c7a commit 0d3b8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miniprogram/utils/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async function _checkFuncEnable(funcName) {
|| (isInvited && ctrlUser.includes(UserTypes.invited)) // 特邀用户
|| (!isInvited && ctrlUser.includes(UserTypes.guest))) { // 游客
// 满足人群限制,返回功能是否受限
!limitedFunc.split(',').includes(funcName);
return !limitedFunc.split(',').includes(funcName);
}
return true;
}
Expand Down

0 comments on commit 0d3b8db

Please sign in to comment.