Browse Source

Update submit.php (#2)

lvzx123 2 years ago
parent
commit
a64de046d2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      pages/submit.php

+ 2 - 1
pages/submit.php

@@ -155,6 +155,7 @@ if ($templateMode) {
                 toTA: toTA,
                 vCode: vCode
             }, function(rdata) {
+                if (rdata.id === undefined) return;
                 $("#qq").val("");
                 $("#name").val("");
                 $("#taName").val("");
@@ -177,4 +178,4 @@ if ($templateMode) {
         }
     </script>
 </div>
-<br /><br />
+<br /><br />