diff --git a/modules/items/api_getlist.go b/modules/items/api_getlist.go index 1459c0153..fd21e83ac 100644 --- a/modules/items/api_getlist.go +++ b/modules/items/api_getlist.go @@ -52,8 +52,9 @@ func (this *apiComp) Getlist(session comm.IUserSession, req *pb.ItemsGetlistReq) } else { grids = append(grids, v) if v.IsNewItem { - v.IsNewItem = false - modifys = append(modifys, v) + temp := *v + temp.IsNewItem = false + modifys = append(modifys, &temp) } } }