Merge pull request #300 from trheyi/main

[change] widget dashboard
This commit is contained in:
Max 2022-12-19 21:14:56 +08:00 committed by GitHub
commit a009202341
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {