|
|
@@ -72,7 +72,7 @@ export default {
|
|
|
captchaUrl: '',
|
|
|
countdown: 0,
|
|
|
timer: null,
|
|
|
- disableBet: true,
|
|
|
+ disableBet: false,
|
|
|
}
|
|
|
},
|
|
|
beforeCreate () {
|
|
|
@@ -130,7 +130,7 @@ export default {
|
|
|
},
|
|
|
sendCode() {
|
|
|
if (this.loginForm.adminName.length >= 5) {
|
|
|
- this.disableBet = false
|
|
|
+ this.disableBet = true
|
|
|
network.sendEmailCode(this.loginForm.adminName).then(response => {
|
|
|
this.$message({
|
|
|
message: response,
|
|
|
@@ -143,7 +143,7 @@ export default {
|
|
|
message: error,
|
|
|
type: 'error'
|
|
|
});
|
|
|
- this.disableBet = true
|
|
|
+ this.disableBet = false
|
|
|
})
|
|
|
|
|
|
}
|
|
|
@@ -158,11 +158,11 @@ export default {
|
|
|
this.countdown -= 1;
|
|
|
} else {
|
|
|
clearInterval(this.timer); // 倒计时结束,清除计时器
|
|
|
- this.disableBet = true
|
|
|
+ this.disableBet = false
|
|
|
}
|
|
|
}, 1000);
|
|
|
|
|
|
- this.disableBet = false
|
|
|
+ this.disableBet = true
|
|
|
},
|
|
|
},
|
|
|
}
|