Explorar o código

新冠肺炎必填

maoyunfeng %!s(int64=5) %!d(string=hai) anos
pai
achega
af39be0be0
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      whepi-ui/templates/home/ribao.js

+ 4 - 0
whepi-ui/templates/home/ribao.js

@@ -1042,6 +1042,10 @@ function ribaoCommit() {
 
 
   var medical = $("input[name='radio']:checked").val();
+  if(medical ==undefined){
+      $.alert("请选择新冠肺炎");
+      return;
+  }
 
 
   //var familyStatus = $("#js_input_user_status").attr("data-values") == undefined ? 0 : $("#js_input_user_status").attr("data-values");