This commit is contained in:
liushiwei
2023-08-09 14:49:44 +08:00
parent a159a3a0d1
commit ae1f426a72

View File

@@ -176,7 +176,6 @@
tableData: [], tableData: [],
total: 0, total: 0,
isBegin: false, isBegin: false,
timer: null,
choosedList: [], choosedList: [],
arr: [], arr: [],
robTotal: 0, robTotal: 0,
@@ -287,9 +286,6 @@
beginRob() { beginRob() {
if (this.isBegin) { if (this.isBegin) {
this.isBegin = false; this.isBegin = false;
for (let i = 0;i < this.timer.length; i++) {
clearInterval(this.timer[i].timer);
}
return; return;
} }
@@ -300,7 +296,6 @@
this.robTotal = this.choosedList.length this.robTotal = this.choosedList.length
this.isBegin = true; this.isBegin = true;
this.timer = [];
for (let i = 0;i < this.choosedList.length; i++) { for (let i = 0;i < this.choosedList.length; i++) {
/*setTimeout(() => { /*setTimeout(() => {