Sfoglia il codice sorgente

新冠肺炎必填

maoyunfeng 5 anni fa
parent
commit
af39be0be0
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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");