MaiXinRong 4 년 전
부모
커밋
6b2aca0059
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/lib/tender_info.js

+ 1 - 1
app/lib/tender_info.js

@@ -35,7 +35,7 @@ class TenderInfo {
         if (this.stage) return;
         this.stages = await this._getValidStages(this.tender.id);
         this.stage = this.stages[0];
-        await this.ctx.service.stage.doCheckStage(this.stage);
+        if (this.stage) await this.ctx.service.stage.doCheckStage(this.stage);
     }
 
     async _getStageBillsData () {