fixed register modal form submit disabled
This commit is contained in:
@ -55,11 +55,15 @@ export default {
|
||||
},
|
||||
checkSubmitEnabled () {
|
||||
console.log("checkSubmitEnabled", this)
|
||||
if (this.ps === 'Strong') {
|
||||
this.$refs.register.disabled = false
|
||||
} else {
|
||||
this.$refs.register.disabled = true
|
||||
// debugger;
|
||||
if (this.$refs.register) {
|
||||
if (this.ps === 'Strong') {
|
||||
this.$refs.register.disabled = false
|
||||
} else {
|
||||
this.$refs.register.disabled = true
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
register () {
|
||||
console.log('register', this.mail, this.pass1, this.pass2)
|
||||
|
Reference in New Issue
Block a user