課程
/前端開發(fā)
/Node.js
/進(jìn)擊Node.js基礎(chǔ)(二)
Promise方法里面的 ball.style.marginLeft。 ?style未定義,不知道為何。
2016-06-19
源自:進(jìn)擊Node.js基礎(chǔ)(二) 1-2
正在回答
你是不是使用的這個function animate(ball, distance, cb),如果使用的是promise,你需要將function animate(ball, distance, cb)更改為function animate()
我不在 提問者
舉報
本教程帶你攻破 Nodejs,讓 JavaScript流暢運行在服務(wù)器端
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2016-06-20
你是不是使用的這個function animate(ball, distance, cb),如果使用的是promise,你需要將function animate(ball, distance, cb)更改為function animate()