This commit is contained in:
tangly1024.com
2024-04-10 17:36:17 +08:00
parent 213367aed6
commit 8ce32b422e
36 changed files with 1657 additions and 892 deletions

View File

@@ -192,7 +192,7 @@ function getCustomMenu({ collectionData }) {
if (menuPages && menuPages.length > 0) {
menuPages.forEach(e => {
e.show = true
if (e?.slug?.indexOf('http') === 0) {
if (e?.slug?.indexOf('http') === 0 && e?.slug?.indexOf(BLOG.LINK) < 0) {
e.target = '_blank'
e.to = e.slug
} else {