mirror of https://github.com/apache/cloudstack.git
fixes form.getFieldValue is not a function (#6110)
This commit is contained in:
parent
b2965462ea
commit
56bf418185
|
|
@ -111,7 +111,7 @@ export default {
|
|||
} else if (rule.field === 'confirmpassword') {
|
||||
const form = this.form
|
||||
const messageConfirm = this.$t('message.validate.equalto')
|
||||
const passwordVal = form.getFieldValue('password')
|
||||
const passwordVal = form.password
|
||||
if (passwordVal && passwordVal !== value) {
|
||||
return Promise.reject(messageConfirm)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue