作者 yangfu

列表过滤

... ... @@ -288,8 +288,9 @@ func ClearFilesForm(inputFormList []*protocol.Form) (forms []*protocol.Form) {
func FormFilter(inputFormList []*protocol.Form, fiters ...Filters) (forms []*protocol.Form) {
for i := range fiters {
forms = fiters[i](inputFormList)
inputFormList = fiters[i](inputFormList)
}
forms = inputFormList
return
}
... ...