Browse Source

1 修改bug if(this.formData.gender == 0){
uni.showToast({
title: 请选择性别,
icon: 'none',
duration: 2000
})
return false
}

wangguoyu 4 tuần trước cách đây
mục cha
commit
a8d39d36ab
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      pages/admin/Jiazheng/gerenZiliao.vue

+ 8 - 0
pages/admin/Jiazheng/gerenZiliao.vue

@@ -676,6 +676,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: "请勾选本人同意!",