From 71ecc0bb167e126d92f27c0b3ef6e8e60523ea48 Mon Sep 17 00:00:00 2001 From: what Date: Mon, 18 Sep 2023 17:30:31 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20GridLayout=20=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/grid_layout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"`