|
@@ -157,6 +157,8 @@ export default {
|
|
|
if (this.disableLoginBtn) {
|
|
|
return;
|
|
|
}
|
|
|
+ this.disableLoginBtn = true;
|
|
|
+ setTimeout(() => (this.disableLoginBtn = false), 5000);
|
|
|
const valid = await this.$refs[name].validate();
|
|
|
if (valid) {
|
|
|
console.log("form validated. start login...");
|