mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	优化缓存条件设置交互
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
		// 将组合条件置为空
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user