main.js:20 Uncaught TypeError: Failed to execute 'getContext' on 'HTMLCanvasElement': 1 argument required, but only 0 present.init @ main.js:20game @ main.js:12
在用getcontext的时候出现这个了怎么办?
你看下getcontext("2d")里面有没有加“2d"