From 3a491c4e42c11658adc676cef621035938c5f696 Mon Sep 17 00:00:00 2001 From: FireflyHoo Date: Sat, 4 Apr 2020 16:44:58 +0800 Subject: [PATCH] feat: add ConfirmPassword Validate (#116) * feat: add ConfirmPassword Validate * Update Installation.vue --- src/views/system/Installation.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/system/Installation.vue b/src/views/system/Installation.vue index 172ee97e..d32594be 100644 --- a/src/views/system/Installation.vue +++ b/src/views/system/Installation.vue @@ -114,7 +114,7 @@ placeholder="确定密码" v-decorator="[ 'confirmPassword', - {rules: [{ required: true, message: '请确定密码' }]} + {rules: [{ required: true, message: '请确定密码' },{ validator: handleValidateConfirmPassword }]} ]" > { if (response.data.data) {