mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-25 04:52:52 +08:00
[fix] 被保险人人年龄≤13岁,学历不可以为研究生、本科、高中、大专 修复代码中逻辑与实际逻辑不符
This commit is contained in:
@@ -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('亲,请确认被保险人学历哦~')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user