|
@@ -55,11 +55,15 @@ export default {
|
|
},
|
|
},
|
|
checkSubmitEnabled () {
|
|
checkSubmitEnabled () {
|
|
console.log("checkSubmitEnabled", this)
|
|
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 () {
|
|
register () {
|
|
console.log('register', this.mail, this.pass1, this.pass2)
|
|
console.log('register', this.mail, this.pass1, this.pass2)
|