Commit 8b4c8d3b authored by limingzhe's avatar limingzhe

fix: debug

parent 8bccde24
......@@ -119,7 +119,7 @@ var game = cc.Class({
for (var i = 0; i < itemArr.length; i++) {
let newItem = cc.instantiate(this.Item);
//更新子项
var com = newItem.getChildByName("item").getComponent("item");
var com = newItem.getChildByName("item").getComponent("LWD_3_item");
let itemInfo = itemArr[i];
com.updateUI(itemInfo);
newItem.active = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment