打孔
This commit is contained in:
@@ -188,7 +188,7 @@ function sortItems (goods: Array<ItemInter>, bags: Array<BagInter>, skins: Array
|
||||
if (!!isCurrency) {
|
||||
let curname = getCurNameById(goodInfo.good_id);
|
||||
if (!!curname) {
|
||||
let index = _.indexOf(showItems, {id: good.id});
|
||||
let index = _.findIndex(showItems, {id: good.id});
|
||||
if (index > 0) {
|
||||
showItems[index].count = showItems[index].count + good.count;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user