This commit is contained in:
Daniel 2025-07-01 22:42:48 +08:00
parent b357047290
commit 17c59cb2ca
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
11 changed files with 64 additions and 69 deletions

View file

@ -24,13 +24,6 @@ import (
"github.com/siyuan-note/siyuan/kernel/util"
)
// Sortable 接口定义了可排序的视图类型。
type Sortable interface {
// Sort 根据视图中设置的排序规则进行排序。
Sort(attrView *AttributeView)
}
// ViewSort 描述了视图排序规则的结构。
type ViewSort struct {
Column string `json:"column"` // 列字段ID