From 85481e50eea512040293d1d0d152d7a1ebe9a3dc Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 26 Jan 2023 00:51:17 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=94=B9=E8=BF=9B=E5=86=85=E6=A0=B8?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E8=B0=83=E5=BA=A6=E6=9C=BA=E5=88=B6=E6=8F=90?= =?UTF-8?q?=E5=8D=87=E7=A8=B3=E5=AE=9A=E6=80=A7=20https://github.com/siyua?= =?UTF-8?q?n-note/siyuan/issues/7113?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/index.go b/kernel/model/index.go index aa1a3815b..424eedfee 100644 --- a/kernel/model/index.go +++ b/kernel/model/index.go @@ -203,7 +203,7 @@ func init() { return } - current := context["current"] + current := context["current"].(int) + 1 total := context["total"] msg := fmt.Sprintf(Conf.Language(90), current, total, blockCount, hash) util.SetBootDetails(msg)