zhangweicheng %!s(int64=6) %!d(string=hai) anos
pai
achega
0b9b03aa4b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web/users/js/compilation.js

+ 1 - 1
web/users/js/compilation.js

@@ -859,7 +859,7 @@ function confirmUpdate(selector,engineerID) {
     let oldValue = inputDiv.prev("div").find("span").text();
     let newValue = input.val();
     let key = input.attr("name");
-    if(newValue == "" || newValue==oldValue || !engineerID){
+    if(newValue==oldValue || !engineerID){//不做非空判断
         inputDiv.prev("div").show();
         inputDiv.hide();
         return;