zhangweicheng 6 年之前
父节点
当前提交
0b9b03aa4b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;