优化缓存条件设置,支持不缓存条件设置,支持条件排序等

This commit is contained in:
GoEdgeLab
2021-06-08 22:46:08 +08:00
parent 294ac2d2a2
commit e8603c8742
17 changed files with 319 additions and 115 deletions

View File

@@ -32,6 +32,10 @@ func (this *AddCondPopupAction) RunPost(params struct {
if err != nil {
this.Fail("解析条件设置时发生了错误:" + err.Error())
}
err = condConfig.Init()
if err != nil {
this.Fail("校验条件设置时失败:" + err.Error())
}
condConfig.Type = params.CondType
this.Data["cond"] = condConfig