mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-13 20:00:25 +08:00
修复缓存条件状态码无法修改的问题
This commit is contained in:
@@ -38,6 +38,10 @@ func (this *CreatePopupAction) RunPost(params struct {
|
||||
this.Fail("请输入缓存Key")
|
||||
}
|
||||
|
||||
if cacheRef.Conds == nil || len(cacheRef.Conds.Groups) == 0 {
|
||||
this.Fail("请填写匹配条件分组")
|
||||
}
|
||||
|
||||
err = cacheRef.Init()
|
||||
if err != nil {
|
||||
this.ErrorPage(err)
|
||||
|
||||
Reference in New Issue
Block a user