♻️ Refactor av data structure

This commit is contained in:
Daniel 2023-07-12 23:52:25 +08:00
parent e66fc9c096
commit ba396a5573
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 36 additions and 29 deletions

View file

@ -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 {