mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 21:50:28 +08:00 
			
		
		
		
	优化OSS源站相关代码
This commit is contained in:
		@@ -10,6 +10,7 @@ import (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
func (this *AddOriginPopupAction) getOSSHook() {
 | 
					func (this *AddOriginPopupAction) getOSSHook() {
 | 
				
			||||||
	this.Data["ossTypes"] = []maps.Map{}
 | 
						this.Data["ossTypes"] = []maps.Map{}
 | 
				
			||||||
 | 
						this.Data["ossBucketParams"] = []maps.Map{}
 | 
				
			||||||
	this.Data["ossForm"] = ""
 | 
						this.Data["ossForm"] = ""
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -10,6 +10,7 @@ import (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
func (this *AddPopupAction) getOSSHook() {
 | 
					func (this *AddPopupAction) getOSSHook() {
 | 
				
			||||||
	this.Data["ossTypes"] = []maps.Map{}
 | 
						this.Data["ossTypes"] = []maps.Map{}
 | 
				
			||||||
 | 
						this.Data["ossBucketParams"] = []maps.Map{}
 | 
				
			||||||
	this.Data["ossForm"] = ""
 | 
						this.Data["ossForm"] = ""
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -10,6 +10,7 @@ import (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
func (this *UpdatePopupAction) getOSSHook() {
 | 
					func (this *UpdatePopupAction) getOSSHook() {
 | 
				
			||||||
	this.Data["ossTypes"] = []maps.Map{}
 | 
						this.Data["ossTypes"] = []maps.Map{}
 | 
				
			||||||
 | 
						this.Data["ossBucketParams"] = []maps.Map{}
 | 
				
			||||||
	this.Data["ossForm"] = ""
 | 
						this.Data["ossForm"] = ""
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user