上传道具背包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 {
|
} 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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user