[feat] DataList.IsDynamicRefresh 由 bool 改为 int

This commit is contained in:
what 2024-05-13 10:53:20 +08:00
parent dda4ced4c5
commit ba0d080e14

View File

@ -31,7 +31,7 @@ type DataList struct {
ExpandedRowConfig map[string]any `db:"expandedRowConfig"` // 列表明细控件配置
IsTreeSider bool `db:"isTreeSider"` // 是否打开侧边栏侧边栏
TreeSiderConfig map[string]any `db:"treeSiderConfig"` // 侧边栏设置
IsDynamicRefresh bool `db:"isDynamicRefresh"` // 是否启用动态刷新
IsDynamicRefresh int `db:"isDynamicRefresh"` // 是否启用自动刷新, 0=关闭, 1=开启, 2=提示刷新
PageSize int `db:"pagesize"` // 分页大小
IsAuxiliaryPanel bool `db:"isAuxiliaryPanel"` // 是否使用附属面板
AuxiliaryPanelConfig map[string]any `db:"auxiliaryPanelConfig"` // 附属面板配置