已采納回答 / 慕絲6361662
這個地方有錯誤 要把balls.push(aBAll);寫入if條件語句里if (digit[num][i][j] == 1) {? ? ? ? ? ? ? ? ? ? color: colors[Math.floor(Math.random() * colors.length)]? ? ? ? ? ? ? ? }? ? ? ? ? ? ? balls.push(aBAll);? 寫這里才是對的? ? ? ? ? ? }? ? ? ? ? ? balls.push(aBAll);你的在條件語句外面? ? ...
2018-04-27
最新回答 / JackeyT
這里確實(shí)是應(yīng)該是parseInt(curhours%10),只是時間函數(shù)太快,彩色小球又是運(yùn)動的,所以不注意是看不出來的
2018-02-28