diff --git a/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue b/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue index f8c968e..6e648f5 100644 --- a/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue +++ b/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue @@ -120,6 +120,9 @@ export default { if(!this.form.idNumber) { return this.$u.toast('请输入身份证号') } + if (!this.$idCardNoUtil.checkIdCardNo(this.form.idNumber)) { + return this.$u.toast('请输入正确的身份证号码') + } if(!this.form.areaId) { return this.$u.toast('请选择地区')