Skip to content

Commit

Permalink
remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
gene9831 committed Dec 11, 2024
1 parent afacbc9 commit fe465f8
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/plugins/page/src/PageGeneral.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,6 @@ export default {
children: children
.filter((page) => page.id !== pageSettingState.currentPageData.id)
.map((page) => pageToTreeData(page))
.map((page, index, arr) => {
if (index === 0) {
page.isFirst = true
}
if (index === arr.length - 1) {
page.isLast = true
}
return page
})
}
}
Expand Down

0 comments on commit fe465f8

Please sign in to comment.