Commit e88c2d9c authored by 范雪寒's avatar 范雪寒

fix:

parent 609922f1
......@@ -452,14 +452,14 @@ export default class GameLogic {
if(this.m_currentQuestion >= this.g_formData.dataArray.length) {
this.m_currentQuestion = this.g_formData.dataArray.length-1
return new Promise((resolve, reject) => {
this._timeoutIds(setTimeout(() => {
this._timeoutIds.push(setTimeout(() => {
resolve(false)
}, 20));
});
} else if(this.m_currentQuestion <= -1) {
this.m_currentQuestion = 0;
return new Promise((resolve, reject) => {
this._timeoutIds(setTimeout(() => {
this._timeoutIds.push(setTimeout(() => {
resolve(false)
}, 20));
});
......
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