Browse Source

修复游客bug

laiguoran 4 năm trước cách đây
mục cha
commit
14d1e8c407
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/service/stage.js

+ 1 - 1
app/service/stage.js

@@ -90,7 +90,7 @@ module.exports = app => {
                 } else {
                     stage.curOrder = stage.curAuditor.aid === accountId ? stage.curAuditor.order : stage.curAuditor.order - 1;
                 }
-            } else if (this.ctx.tender.isTourist) { // 游客
+            } else if (this.ctx.tender && this.ctx.tender.isTourist) { // 游客
                 stage.readOnly = true;
                 stage.curTimes = stage.times;
                 if (stage.status === status.uncheck || stage.status === status.checkNo) {