@@ -692,6 +692,14 @@
if (!this.checkAllFields()) {
return false
}
+ if(this.formData.gender == 0){
+ uni.showToast({
+ title: "请选择性别",
+ icon: 'none',
+ duration: 2000
+ })
+ return false
+ }
if (!this.formData.agree) {
uni.showToast({
title: "请勾选本人同意!",