[change] widget dashboard

This commit is contained in:
Max 2022-12-19 21:14:18 +08:00
parent 7385c0b5c7
commit 0ae2698a45

View file

@ -49,6 +49,10 @@ func (layout *LayoutDSL) Xgen(data map[string]interface{}, excludes map[string]b
if column.Rows != nil {
new := component.InstanceDSL{Rows: []component.InstanceDSL{}}
if column.Width != nil {
new.Width = column.Width
}
for _, column := range column.Rows {
id, has := mapping.Columns[column.Name]
if !has {