Issue #8: Done.

This commit is contained in:
chiayin
2023-10-04 15:17:54 +08:00
parent b5f6c9785a
commit 8fda975228

View File

@@ -78,7 +78,7 @@ export default {
* if input no value , disabled.
*/
isDisabledButton() {
let inputAreSpaces = this.auth.username === '' || this.auth.password === '';
let inputAreSpaces = this.auth.username === '' || this.auth.password === '' || this.isInvalid === true;
return this.isDisabled = inputAreSpaces ? true : false;
},
},