Browse Source

更改上报js

peiguo 4 years ago
parent
commit
3c2914c626
1 changed files with 3 additions and 0 deletions
  1. 3 0
      whepi-ui/templates/home/ribao.js

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

@@ -1582,6 +1582,9 @@ function ribaoCommit() {
   //loading
     var tempTimes = $.toast.prototype.defaults.duration
     $.toast.prototype.defaults.duration = 0
+    if(!$("#suspectedId").val()) {
+      suspectedId = "1";
+    }
     $.toast("处理中...", 'loading');
 
   $.ajax({