Commit 798d8c5d authored by huoshizhe's avatar huoshizhe

fix: foreach

parent 1a65a7e8
...@@ -200,7 +200,7 @@ cc.Class({ ...@@ -200,7 +200,7 @@ cc.Class({
moveCamera(idx) { moveCamera(idx) {
const cameraYList = [0, 0]; const cameraYList = [0, 0];
this.data.wordList.foreach((word, idx) => { this.data.wordList.forEach((word, idx) => {
if (idx < 2) { if (idx < 2) {
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment