mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
🎨 Database template column support using values from other columns https://github.com/siyuan-note/siyuan/issues/9327
This commit is contained in:
parent
433cb91d75
commit
558422c407
2 changed files with 40 additions and 24 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue