fix: isDefault was not reset to false after dragging the subpage to another parent page (#1264)

This commit is contained in:
lichunn 2025-04-01 14:59:33 +08:00 committed by GitHub
parent 24a3bccfae
commit 730bfb93ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -335,6 +335,7 @@ export default {
.then((pageDetail) => {
pageDetail.parentId = newParent.id
if (pageDetail.isPage) {
pageDetail.isDefault = false
updatePage(pageDetail)
} else {
updateFolder(pageDetail)