diff --git a/public/account.html b/public/account.html
index 2550b2b..eb770df 100644
--- a/public/account.html
+++ b/public/account.html
@@ -193,7 +193,7 @@
console.log('submit!');
},
updatePassword() {
- if (this.registerForm.confirm_password != this.registerForm.password) {
+ if (this.updatePasswordForm.confirm_password != this.updatePasswordForm.password) {
this.$message.error('密码和确认密码不一致');
return;
}