zhangweicheng 6 anni fa
parent
commit
0b9b03aa4b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;