فهرست منبع

:bug: Dynamic loading results in incomplete list display https://github.com/siyuan-note/siyuan/issues/11004

Daniel 1 سال پیش
والد
کامیت
620be3572d
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      kernel/model/file.go

+ 1 - 2
kernel/model/file.go

@@ -43,7 +43,6 @@ import (
 	"github.com/siyuan-note/riff"
 	"github.com/siyuan-note/riff"
 	"github.com/siyuan-note/siyuan/kernel/av"
 	"github.com/siyuan-note/siyuan/kernel/av"
 	"github.com/siyuan-note/siyuan/kernel/cache"
 	"github.com/siyuan-note/siyuan/kernel/cache"
-	"github.com/siyuan-note/siyuan/kernel/conf"
 	"github.com/siyuan-note/siyuan/kernel/filesys"
 	"github.com/siyuan-note/siyuan/kernel/filesys"
 	"github.com/siyuan-note/siyuan/kernel/search"
 	"github.com/siyuan-note/siyuan/kernel/search"
 	"github.com/siyuan-note/siyuan/kernel/sql"
 	"github.com/siyuan-note/siyuan/kernel/sql"
@@ -762,7 +761,7 @@ func GetDoc(startID, endID, id string, index int, query string, queryTypes map[s
 			childCount += treenode.CountBlockNodes(n)
 			childCount += treenode.CountBlockNodes(n)
 		}
 		}
 
 
-		if childCount > Conf.Editor.DynamicLoadBlocks && blockCount > conf.MinDynamicLoadBlocks {
+		if childCount > Conf.Editor.DynamicLoadBlocks {
 			scroll = true
 			scroll = true
 			return ast.WalkStop
 			return ast.WalkStop
 		}
 		}