一些备注

This commit is contained in:
tangly1024.com
2024-04-30 18:21:15 +08:00
parent 2803c59f9d
commit 8c25823ede

View File

@@ -26,6 +26,7 @@ export async function getStaticPaths() {
const from = 'slug-paths'
const { allPages } = await getGlobalData({ from })
// 根据slug中的 / 分割成prefix和slug两个字段 ; 例如 article/test
const paths = allPages
?.filter(row => checkSlug(row))
.map(row => ({