Daniel 2025-06-30 12:50:50 +08:00
parent 60d44fec3d
commit 3c21d39e52
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 52 additions and 23 deletions

View file

@ -35,8 +35,9 @@ func (layoutTable *LayoutTable) GetItemIDs() (ret []string) {
func NewLayoutTable() *LayoutTable {
return &LayoutTable{
BaseLayout: &BaseLayout{
Spec: 0,
ID: ast.NewNodeID(),
Spec: 0,
ID: ast.NewNodeID(),
ShowIcon: true,
},
}
}
@ -66,7 +67,6 @@ type Table struct {
type TableColumn struct {
*BaseInstanceField
Wrap bool `json:"wrap"` // 是否换行
Pin bool `json:"pin"` // 是否固定
Width string `json:"width"` // 列宽度
Calc *ColumnCalc `json:"calc"` // 计算