分页适配example主题

This commit is contained in:
tangly
2022-11-13 11:01:02 +08:00
parent c6b0926ff7
commit 4e9ddde728
8 changed files with 78 additions and 126 deletions

View File

@@ -27,7 +27,6 @@ const TagIndex = props => {
export async function getStaticProps() {
const from = 'tag-index-props'
const props = await getGlobalNotionData({ from })
console.log('获取所有标签', props)
props.tags = getAllTags({ allPages: props.allPages, sliceCount: 0, tagOptions: props.tagOptions })
delete props.tagOptions
return {