Commit 45206b2b authored by Tt's avatar Tt

小老鼠1只 2/1修复

parent 3196a574
......@@ -104,7 +104,12 @@ export default class Game {
return this.page;
}
addPage() {
this.page += 1;
if (this.page >= this.lists.length) {
return false;
} else {
this.page += 1;
return true
}
}
get isOver() {
return this.page > this.lists.length;
......
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