上传道具背包new标签处理

This commit is contained in:
liwei1dao 2022-07-29 10:31:01 +08:00
parent 9396984cdf
commit 24efd14c67

View File

@ -52,8 +52,9 @@ func (this *apiComp) Getlist(session comm.IUserSession, req *pb.ItemsGetlistReq)
} else { } else {
grids = append(grids, v) grids = append(grids, v)
if v.IsNewItem { if v.IsNewItem {
v.IsNewItem = false temp := *v
modifys = append(modifys, v) temp.IsNewItem = false
modifys = append(modifys, &temp)
} }
} }
} }