Fix(我的/设置/支付密码):[#1688]密码输入不规范时仍能保存成功

This commit is contained in:
lifizer
2024-06-04 17:54:30 +08:00
parent 86b927b487
commit 9458e9347c
+4
View File
@@ -144,6 +144,10 @@ export default {
return validatorDefaultCatch(e);
}
if (payPwd.length < 6) {
that.$dialog.toast({ mes: "请输入6位支付密码" })
return
}
//网络请求
uni.showLoading();
modifyUserPayPwd({