Commit a0e33327 by 张立顺

fix 提示修复

1 parent 457aa138
......@@ -158,17 +158,26 @@ export default {
staffPhone: this.phone
}
if (this.passwords.passwordsNumber.length != 6) {
uni.showToast('请输入6位数字密码')
uni.showToast({
title: '请输入6位数字密码',
icon: 'none'
})
return
}
// 设置密码
if (this.passwordInfo.type === 'set') {
if (this.passwords.passwordsNumberAgain.length != 6) {
uni.showToast('请输入6位确认数字密码')
uni.showToast({
title: '请输入6位确认数字密码',
icon: 'none'
})
return
}
if (this.passwords.passwordsNumber != this.passwords.passwordsNumberAgain) {
uni.showToast('两次密码不一致')
uni.showToast({
title: '两次密码不一致',
icon: 'none'
})
this.showError = true
return
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!