diff --git a/base/grid_layout.go b/base/grid_layout.go index 6c824a1..bbdeeb0 100644 --- a/base/grid_layout.go +++ b/base/grid_layout.go @@ -9,7 +9,7 @@ type GridLayout struct { MarginX int `db:"marginX"` // 栅格 x 间距 MarginY int `db:"marginY"` // 栅格 y 间距 Cols int `db:"cols"` // 网格列基数 - RowHeight int `db:"rowHeight"` // 栅格行高 + RowHeight float32 `db:"rowHeight"` // 栅格行高 Css map[string]any `db:"css"` // 布局CSS Props []any `db:"props"` // 布局PROPS Roles []string `db:"roles"`