Explorar el Código

定额库编辑器,人材机消耗量修改后显示应刷新。

zhongzewei hace 7 años
padre
commit
dfa0777a0a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web/maintain/ration_repository/js/gljSelect.js

+ 1 - 1
web/maintain/ration_repository/js/gljSelect.js

@@ -126,7 +126,7 @@ let gljSelOprObj = {
                 }
                 if(!isExist){
                     thisGlj.consumeAmt = 0;
-                    me.selectedList.push(thisGlj);
+                    me.selectedList.push(_.cloneDeep(thisGlj));
                 }
             }
             else if(val === false){