src/components/TaskControlModal.vue
@@ -271,10 +271,6 @@ } }, watch: { taskData(val) { this.message = this.safeProduce; this.getInfo(); }, num() { if (this.num === 30) { clearInterval(this.timer); @@ -290,6 +286,9 @@ show(newVal) { if (this.timer) { clearInterval(this.timer); } if (this.secondTimer) { clearInterval(this.secondTimer) } this.num = 0; this.showBtn = 1; @@ -470,9 +469,10 @@ } }, err => { console.error(err) }).finally(() => { this.isLoading = false }); setTimeout(() => { this.isLoading = false; }, 30000) } }, getCode(res) {