[]电脑上跟手机上运行不一样(手机上判断是进不去的,但我打印出来是满足条件的,必现)


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;
                    }
                }   
            }
 
已邀请:

qian

赞同来自:

可以一个demo么

要回复问题请先

商务合作
商务合作