From 2b5697bdc364ce4c02cd6358ec97bc429a7ef069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=90=89=E6=AC=A2?= Date: Fri, 13 Apr 2018 16:58:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/user/updatePass.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fangija-zsyf/views/user/updatePass.html b/fangija-zsyf/views/user/updatePass.html index f601f24..2cb8847 100644 --- a/fangija-zsyf/views/user/updatePass.html +++ b/fangija-zsyf/views/user/updatePass.html @@ -111,7 +111,11 @@ new Vue({ }, // 修改密码 updatePass: function() { - if (this.pass == '' || this.pass.length < 7) { + if (this.pass == '') { + $.toast("请输入密码"); + return; + } + if (this.pass.length < 7) { $.toast("请输入6位以上数字或字母"); return; }