mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-23 18:00:27 +08:00
优化缓存条件设置,支持不缓存条件设置,支持条件排序等
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user