mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-01-04 10:06:36 +08:00
优化代码
This commit is contained in:
@@ -172,6 +172,11 @@ func (this *SelectPopupAction) RunGet(params struct {
|
||||
})
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
this.ErrorPage(err)
|
||||
return
|
||||
}
|
||||
|
||||
if listResp == nil {
|
||||
this.ErrorPage(errors.New("'listResp' should not be nil"))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user