zhouna hace 4 años
padre
commit
2b8167b00c
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      src/js/qcScore.js

+ 5 - 0
src/js/qcScore.js

@@ -505,6 +505,11 @@ function showModal(flag,code,i){
         $(".edit-box .warning").show();
       }
     });
+    if($("#qcInfo").val().length>125){
+        $(".edit-box .warning .red").text("备注不能超过125个字~");
+        $(".edit-box .warning").show();
+        return;
+    }
     $("#delModal .confirm").click(function(){
       if($(".edit-box .warning").is(":visible")){
         return;