优化缓存条件设置交互

This commit is contained in:
GoEdgeLab
2022-09-03 19:15:30 +08:00
parent 34eca0a59f
commit bcada452d2
7 changed files with 95 additions and 45 deletions

View File

@@ -28,8 +28,9 @@ func (this *CreatePopupAction) RunGet(params struct {
func (this *CreatePopupAction) RunPost(params struct {
CacheRefJSON []byte
CondType string
CondJSON []byte
CondType string
CondJSON []byte
CondIsCaseInsensitive bool
Must *actions.Must
}) {
@@ -48,6 +49,7 @@ func (this *CreatePopupAction) RunPost(params struct {
return
}
cond.Type = params.CondType
cond.IsCaseInsensitive = params.CondIsCaseInsensitive
cacheRef.SimpleCond = cond
// 将组合条件置为空