This commit is contained in:
anonymous
2025-01-11 11:11:56 +08:00
parent 59d47ec9f5
commit 4be8749cf5
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ export const getAllPages = (key = 'notNeedLogin') => {
...pages
.filter((page) => {
if (!key) return false
return page[key] === false
return page[key] !== false
})
.map((page) => ({
...page,