|
@@ -13,7 +13,7 @@ cc.Class({
|
|
|
},
|
|
|
|
|
|
onLoad () {
|
|
|
- this.itemId = 0;
|
|
|
+ this._itemId = 0;
|
|
|
},
|
|
|
|
|
|
start () {
|
|
@@ -21,7 +21,7 @@ cc.Class({
|
|
|
},
|
|
|
|
|
|
updateItem(data,itemId){
|
|
|
- this.itemId = itemId,
|
|
|
+ this._itemId = itemId,
|
|
|
this.rankLabel.string = data.rank;
|
|
|
this.rankSprite.spriteFrame = this.rankSpriteList[0];
|
|
|
this.scoreLabel.string = data.score;
|