mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-01 01:10:25 +08:00
优化缓存条件设置,支持不缓存条件设置,支持条件排序等
This commit is contained in:
@@ -32,6 +32,11 @@ func (this *AddGroupPopupAction) RunPost(params struct {
|
||||
this.Fail("解析条件时发生错误:" + err.Error())
|
||||
}
|
||||
|
||||
err = groupConfig.Init()
|
||||
if err != nil {
|
||||
this.Fail("校验条件设置时失败:" + err.Error())
|
||||
}
|
||||
|
||||
this.Data["group"] = groupConfig
|
||||
this.Success()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user