소스 검색

自动调用变更令相关

MaiXinRong 1 년 전
부모
커밋
7585aee74a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/public/js/stage.js

+ 1 - 1
app/public/js/stage.js

@@ -4103,7 +4103,7 @@ $(document).ready(() => {
                         unit_price: node.unit_price || 0,
                     };
                     if (_.isMatch(cb, b)) {
-                        posData = stagePos.getLedgerPos(node.id);
+                        posData = stagePos.getLedgerPos(node.id) || [];
                         return { lid: node.id, pid: posData.length > 0 ? posData[0].id : '-1' };
                     }
                 }