refactor(重构提升): 优化缓存与编辑性能
build.yaml / build (push) Successful in 44s

This commit is contained in:
xiaoqidun committed 2026-09-29 14:14:23 +08:00
1 parent cef4756217
commit b8ed92221b
8 files changed
+65 -21

No files matched your search

+1
View File
@@ -634,6 +634,7 @@ func configureDocument(args []js.Value) (any, error) {
if currentSession.Renderer.RenderAnnotations != args[1].Bool() {
currentSession.Renderer.RenderAnnotations = args[1].Bool()
clear(currentSession.textCache)
currentSession.textOrder = nil
}
return currentSession.Summary(), nil
}