上传道具背包new标签处理
This commit is contained in:
parent
9396984cdf
commit
24efd14c67
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user