[fix] 被保险人人年龄≤13岁,学历不可以为研究生、本科、高中、大专 修复代码中逻辑与实际逻辑不符

This commit is contained in:
tgy
2020-03-28 23:05:27 +08:00
parent f06f25fc09
commit a0c00a733a

View File

@@ -1124,7 +1124,7 @@ export default {
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
// 被保险人人年龄≤13岁学历不可以为研究生、本科、高中、大专
if (age < 14 && this.userInfo.degree - 0 > 5) {
if (age < 14 && this.userInfo.degree - 0 <= 5) {
return this.$toast('亲,请确认被保险人学历哦~')
}