mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-16 12:08:07 +01:00
♻️ Refactor av data structure
This commit is contained in:
parent
e66fc9c096
commit
ba396a5573
4 changed files with 36 additions and 29 deletions
|
|
@ -37,10 +37,10 @@ type LayoutTable struct {
|
|||
type ViewTableColumn struct {
|
||||
ID string `json:"id"` // 列 ID
|
||||
|
||||
Wrap bool `json:"wrap"` // 是否换行
|
||||
Hidden bool `json:"hidden"` // 是否隐藏
|
||||
Width string `json:"width"` // 列宽度
|
||||
Calc *ColumnCalc `json:"calc"` // 计算
|
||||
Wrap bool `json:"wrap"` // 是否换行
|
||||
Hidden bool `json:"hidden"` // 是否隐藏
|
||||
Width string `json:"width"` // 列宽度
|
||||
Calc *ColumnCalc `json:"calc,omitempty"` // 计算
|
||||
}
|
||||
|
||||
type Calculable interface {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue