jack 1 week ago
parent
commit
dfd3d897c9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      public/index.html

+ 2 - 0
public/index.html

@@ -1302,6 +1302,8 @@
             }
         }
         async function submitRegistration() {
+            var area = urlSearch.slice(1)
+            if (area.indexOf("longhua") >-1 || area.indexOf("guangming") >-1 ) {alert("报名时间已截止"); return}
             const idNumber = document.getElementById('id_number');
             const CompetitionType = document.getElementById('CompetitionType');
             if (!idNumber.value && !CompetitionType.value) {