Commit 8dc2c714 authored by ZhangZeyu's avatar ZhangZeyu

feat: 增加功能

parent 0b932c22
...@@ -164,10 +164,8 @@ export class Flop extends Scene { ...@@ -164,10 +164,8 @@ export class Flop extends Scene {
console.log(picArr, '=====>picArr'); console.log(picArr, '=====>picArr');
if (picArr.length === 1) { if (picArr.length === 1) {
confirm("您已通关,是否重新开始") ? alert("您已通关");
picArr = PIC_ARR this.removeChildren()
: this.removeChildren()
return return
} }
alert("赢了"); alert("赢了");
......
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