This commit is contained in:
kunfei
2023-05-19 19:49:40 +08:00
parent 67595ac3dd
commit 1ca3b9846d
2 changed files with 16 additions and 0 deletions
@@ -121,6 +121,7 @@ object BookChapterList {
coroutineContext.ensureActive()
val formatJs = tocRule.formatJs
val bindings = SimpleBindings()
bindings["gInt"] = 0
list.forEachIndexed { index, bookChapter ->
bookChapter.index = index
if (!formatJs.isNullOrBlank()) {