浏览代码

更改上报js

peiguo 4 年之前
父节点
当前提交
3c2914c626
共有 1 个文件被更改,包括 3 次插入0 次删除
  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({