[]电脑上跟手机上运行不一样(手机上判断是进不去的,但我打印出来是满足条件的,必现)
if(this._view && this._tableInfo.hasOwnProperty('players'))
{
let data = this._tableInfo;
alert(param.players[0].uid +' '+App.uid +' '+param.players[0].gold);
for (var key in data.players) {
if(data.players[key].uid ==App.uid)
{
this._ownerGold = data.players[key].gold;
break;
}
}
}
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
qian
赞同来自: