From 6d6cfbe6697faaf012fd5d758d757df395a95388 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 27 May 2022 10:05:16 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E6=A0=87=E9=A2=98=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E5=AD=97=E4=BD=93=E9=A2=9C=E8=89=B2=E6=97=B6=E5=A4=A7=E7=BA=B2?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=20https://github.com/siyuan-note/siyuan/issu?= =?UTF-8?q?es/5009?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/types/index.d.ts | 1 - app/src/util/Tree.ts | 2 +- kernel/model/block.go | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.ts index 0619baaf8..d0d1df7bd 100644 --- a/app/src/types/index.d.ts +++ b/app/src/types/index.d.ts @@ -386,7 +386,6 @@ declare interface IBlockTree { nodeType: string, subType: string, name: string, - full: string, type: string, depth: number, url?: string, diff --git a/app/src/util/Tree.ts b/app/src/util/Tree.ts index 27c3ef4e1..705b4f20d 100644 --- a/app/src/util/Tree.ts +++ b/app/src/util/Tree.ts @@ -71,7 +71,7 @@ data-type="${item.nodeType}" data-subtype="${item.subType}" ${item.label ? "data-label='" + item.label + "'" : ""}> - + ${iconHTML} ${item.name} diff --git a/kernel/model/block.go b/kernel/model/block.go index 521010255..2bdf0702e 100644 --- a/kernel/model/block.go +++ b/kernel/model/block.go @@ -64,7 +64,6 @@ type Path struct { ID string `json:"id"` // 块 ID Box string `json:"box"` // 块 Box Name string `json:"name"` // 当前路径 - Full string `json:"full"` // 全路径 Type string `json:"type"` // "path" NodeType string `json:"nodeType"` // 节点类型 SubType string `json:"subType"` // 节点子类型