提交 c2f02a78 编写于 作者: X xjh22222228

fix: #153

上级 46386afe
......@@ -240,6 +240,9 @@ export function adapterWebsiteList(websiteList: any[], parentItem?: any) {
item.createdAt ||= createdAt
if (Array.isArray(item.nav)) {
if (item.nav[0]?.url) {
item.nav = item.nav.filter(item => !item.ownVisible || isLogin);
}
adapterWebsiteList(item.nav, item)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册