feat(编辑能力): 修复删页引用清理
build.yaml / build (push) Successful in 47s

This commit is contained in:
xiaoqidun committed 2026-10-10 15:07:26 +08:00
1 parent 50938740c9
commit 26568927e5
2 files changed
+12 -11

No files matched your search

+1 -1
View File
@@ -306,7 +306,7 @@ func (e *Editor) DeletePages(indexes []int) error {
e.removedPages = make(map[string]bool)
}
for _, page := range saved {
e.removedPages[page.ID] = true
e.removedPages[editorResourceID(page.ID)] = true
}
kept, next := e.pages[:0], 0
for index, page := range e.pages {