优化代码

This commit is contained in:
刘祥超
2023-03-27 16:31:52 +08:00
parent a09d295948
commit 2b39c5d517
5 changed files with 7 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ func (this *ComponentsAction) RunGet(params struct{}) {
if !Tea.IsTesting() && len(componentsData) > 0 {
this.AddHeader("Last-Modified", "Fri, 06 Sep 2019 08:29:50 GMT")
this.Write(componentsData)
_, _ = this.Write(componentsData)
return
}