mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
♻️ Refactor av data structure
This commit is contained in:
parent
f132067952
commit
f123a9a210
2 changed files with 12 additions and 7 deletions
|
|
@ -251,6 +251,10 @@ type TableColumn struct {
|
|||
Hidden bool `json:"hidden"` // 是否隐藏
|
||||
Width string `json:"width"` // 列宽度
|
||||
Calc *ColumnCalc `json:"calc"` // 计算
|
||||
|
||||
// 以下是某些列类型的特有属性
|
||||
|
||||
Options []*KeySelectOption `json:"options,omitempty"` // 选项列表
|
||||
}
|
||||
|
||||
type TableRow struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue