fight:function(e){ that = this; that.setData({ buttondisabled: true, loading: true }), setTimeout(function () { that.setData({ buttondisplay: 'none', playerdisplay: 'block', }, 9000) }) }
2 回答
幕布斯7119047
TA贡献1794条经验 获得超8个赞
fight:function(e){ that = this; that.setData({ buttondisabled: true, loading: true }); //<--这里是分号不是逗号 setTimeout(function(){ that.setData({ buttondisplay: 'none', playerdisplay: 'block' }) //这里的错误不太好描述,自己看了 }, 9000); }
添加回答
举报
0/150
提交
取消