mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-29 19:56:10 +01:00
🎨 Database gallery view https://github.com/siyuan-note/siyuan/issues/10414
This commit is contained in:
parent
e11f93e9f1
commit
d80bed7b85
3 changed files with 49 additions and 10 deletions
|
|
@ -189,7 +189,7 @@ type View struct {
|
|||
Gallery *LayoutGallery `json:"gallery,omitempty"` // 画廊布局
|
||||
}
|
||||
|
||||
// LayoutType 描述了视图布局的类型。
|
||||
// LayoutType 描述了视图布局类型。
|
||||
type LayoutType string
|
||||
|
||||
const (
|
||||
|
|
@ -619,8 +619,9 @@ func getI18nName(name string) string {
|
|||
}
|
||||
|
||||
var (
|
||||
ErrViewNotFound = errors.New("view not found")
|
||||
ErrKeyNotFound = errors.New("key not found")
|
||||
ErrViewNotFound = errors.New("view not found")
|
||||
ErrKeyNotFound = errors.New("key not found")
|
||||
ErrWrongLayoutType = errors.New("wrong layout type")
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue