From d60e73cd4cb0c0804c4e9c5c15d2c7d40c5fac0e Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 27 Oct 2022 22:52:54 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=AF=BC=E5=85=A5=E5=8D=95=E4=B8=AA=20?= =?UTF-8?q?Md=20=E6=97=B6=E8=AE=BE=E7=BD=AE=E6=A0=BC=E5=BC=8F=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/import.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/model/import.go b/kernel/model/import.go index 52d58c981..2154d2c91 100644 --- a/kernel/model/import.go +++ b/kernel/model/import.go @@ -584,6 +584,7 @@ func ImportFromLocalPath(boxID, localPath string, toPath string) (err error) { tree.Box = boxID tree.Path = targetPath tree.HPath = path.Join(baseHPath, title) + tree.Root.Spec = "1" luteEngine.NestedInlines2FlattedSpans(tree) docDirLocalPath := filepath.Dir(filepath.Join(boxLocalPath, targetPath))