修改密码提示
This commit is contained in:
@@ -111,7 +111,11 @@ new Vue({
|
|||||||
},
|
},
|
||||||
// 修改密码
|
// 修改密码
|
||||||
updatePass: function() {
|
updatePass: function() {
|
||||||
if (this.pass == '' || this.pass.length < 7) {
|
if (this.pass == '') {
|
||||||
|
$.toast("请输入密码");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (this.pass.length < 7) {
|
||||||
$.toast("请输入6位以上数字或字母");
|
$.toast("请输入6位以上数字或字母");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user