🎨 Database template column support using values from other columns https://github.com/siyuan-note/siyuan/issues/9327

This commit is contained in:
Daniel 2023-10-03 11:46:25 +08:00
parent 433cb91d75
commit 558422c407
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 40 additions and 24 deletions

View file

@ -354,10 +354,6 @@ type ValueTemplate struct {
Content string `json:"content"`
}
func (t *ValueTemplate) Render(blockID, tplContent string, r func(blockID, tplContent string) string) {
t.Content = r(blockID, tplContent)
}
// View 描述了视图的结构。
type View struct {
ID string `json:"id"` // 视图 ID