求help help
你看吧
在logo加载完的回调里面还要再调用 drawChessBoard()的,这样才能划格子。
logo.onload = function(){ context.drawImage(logo,0,0,450,450); drawChessBoard(); }